Cdemko: Difference between revisions
From Joomla! Documentation
New page: Hey, your tutorial around part 10: http://docs.joomla.org/Developing_a_Model-View-Controller_%28MVC%29_Component_for_Joomla!1.6_-_Part_10 is breaking. Most notably some files such as admi... |
→Excellent: new section |
||
| Line 3: | Line 3: | ||
Most notably some files such as admin/controllers/helloworldlist.php are extending HelloWorldController but they can not find the class. A simple fix which is working for me is to let them extend JController but I'm unsure of what your intentions were/are with this as the archive source doesn't reflect this idea (although it did in an earlier page). | Most notably some files such as admin/controllers/helloworldlist.php are extending HelloWorldController but they can not find the class. A simple fix which is working for me is to let them extend JController but I'm unsure of what your intentions were/are with this as the archive source doesn't reflect this idea (although it did in an earlier page). | ||
== Excellent == | |||
[[http://docs.joomla.org/Developing_a_Model-View-Controller_%28MVC%29_Component_for_Joomla!1.6_-_Part_15#Creating_the_extension_script_file]]http://docs.joomla.org/Developing_a_Model-View-Controller_%28MVC%29_Component_for_Joomla!1.6_-_Part_15#Creating_the_extension_script_file | |||
Have just created my first complex module that creates a dummy user as well as veiw level specific view levels. Can create them with an sql file and delete all (except the data for the jos_user_usergroup_map data) by title field with sql. I needed to find a way to use a script to locate the id of the dummy user so that I cand delete the data from jos_user_usergroup_map by id. | |||
Reading your article I converted com_'''Component'''NameInstallerScript to mod_'''Module'''NameInstallerScript, it worked a treat. Tested with a standard DELETE FROM ...', now all I have to do is write the script. | |||
Thank you very much for taking the time to write an excellent article. | |||
[[User:Topazgb|Webdongle]] 22:54, 5 July 2011 (CDT) | |||
Revision as of 03:54, 6 July 2011
Hey, your tutorial around part 10: http://docs.joomla.org/Developing_a_Model-View-Controller_%28MVC%29_Component_for_Joomla!1.6_-_Part_10 is breaking.
Most notably some files such as admin/controllers/helloworldlist.php are extending HelloWorldController but they can not find the class. A simple fix which is working for me is to let them extend JController but I'm unsure of what your intentions were/are with this as the archive source doesn't reflect this idea (although it did in an earlier page).
Excellent
[[1]]http://docs.joomla.org/Developing_a_Model-View-Controller_%28MVC%29_Component_for_Joomla!1.6_-_Part_15#Creating_the_extension_script_file
Have just created my first complex module that creates a dummy user as well as veiw level specific view levels. Can create them with an sql file and delete all (except the data for the jos_user_usergroup_map data) by title field with sql. I needed to find a way to use a script to locate the id of the dummy user so that I cand delete the data from jos_user_usergroup_map by id.
Reading your article I converted com_ComponentNameInstallerScript to mod_ModuleNameInstallerScript, it worked a treat. Tested with a standard DELETE FROM ...', now all I have to do is write the script.
Thank you very much for taking the time to write an excellent article.
Webdongle 22:54, 5 July 2011 (CDT)