Actions

J2.5 talk

Difference between revisions of "Developing a MVC Component/Basic backend"

From Joomla! Documentation

(Admin Forms in J2.5: new section)
Line 8: Line 8:
  
 
[[User:Radiant tech|Radiant tech]] 06:37, 1 September 2011 (CDT)
 
[[User:Radiant tech|Radiant tech]] 06:37, 1 September 2011 (CDT)
 +
 +
== Admin Forms in J2.5 ==
 +
 +
Aparently, for the JToolbar Icons to work properly in J2.5, the form elements need the id "adminForm" to be assigned to them. I changed this in ''admin/views/helloworlds/tmpl/default.php''. However, it also needs to be changed in the packages...

Revision as of 09:06, 20 January 2012

Items to be adding/changed on this page:

Note that if using core J! javascript in a form, id="adminForm" must also be included.

Shouldn't references to $db->getDBO() be changed to $db->getDbo() ?

And what is this comment referring to? "The _populateState method is, by default, automatically called when a state is read by the getState method."

Radiant tech 06:37, 1 September 2011 (CDT)

Admin Forms in J2.5

Aparently, for the JToolbar Icons to work properly in J2.5, the form elements need the id "adminForm" to be assigned to them. I changed this in admin/views/helloworlds/tmpl/default.php. However, it also needs to be changed in the packages...