I will be making a tutorial on this.. Basically, you need to define a custom field type in order to display database fields. You need to define a class that extends JFormFieldList. See this forum post - http://forum.joomla.org/viewtopic.php?f=642&t=625180. It gives you an example. Stay tuned because I will be creating a tutorial in full on this.
↧