From Joomla! Documentation
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).
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)
Error in part17 file.
Ive found an Error in Part17.zip file, in administrator/components/com_helloworld/models/fields/helloworld.php line 29 you used :
$query = new JDatabaseQuery;
which returns the error:
Fatal error: Cannot instantiate abstract class JDatabaseQuery in C:\wamp\www\j170test\administrator\components\com_helloworld\models\fields\helloworld.php on line 29
But you used the correct line in this page: Developing_a_Model-View-Controller_(MVC)_Component_for_Joomla!1.6_-_Part_06
$query = $db->getQuery(true);
Could you please Correct the zip file? User:MeeDNite
Zip Files Links are broken
In a recent review I realize that all of ZIP links for the Component Tutorial are broken,
Could you please fix that,
11:53, 6 September 2012 (CDT)