Basically, the goal of this project is to create a component that creates a new contact form in Joomla, and a menu item linking to the new form, all in one step.
I have a very basic ( [url removed, login to view] ) Joomla MVC component with a view that contains 2 tables inside a form (I modified the component from above a bit). I need help with the following:
1) Right now, it's all just textboxes and textarea. I need to add several drop-down select lists that populate their "options" from different database Mysql queries.
When a user selects an option and clicks "Save", their selections should be "posted" to the database query (bind) as found in the model.
2) Also, the component view has the 2 tables inside a form, as mentioned above. I need to have the user submitted contents from each form (textboxes, and select drop-down list options) to go into 2 separate MySql tables. I assume the JTable Joomla class needs to be used for that.
The second table is a "Parameters/Preferences" form that basically creates a menu link to the item created in the other table.
For example, one form table could contain the form to create a new com_contact form. The other table has the new menu item parameters, asking if the user wants to create a menu item linking to this new contact form, if the user wants it published, which menutype to use, etc...
I look forward to working with you. Thank you in advance for your help!