Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What im trying to do is, to make a module that parse the values from #__menu_types and pass em in the xml manifest file as fields.
I used this and worked:
XML
<field name="myfield" type="sql" default="10" label="Select an article" query="SELECT title FROM #__menu_types" key_field="title"  required="true">
<option value="">Please select your option</option>
</field>

First of all i cant find how to parse the option and echo it at my index.php.
And second im struggling even more how to instead of a dropdown list make it a cheackbox so i can echo more than 1 values.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900