Creating a Hello World Module for Joomla 1.5
From Joomla! Documentation
Revision as of 10:31, 14 January 2011 by Mvangeest
Discussion on Creating a Hello World Module for Joomla! 1.5
I think the following line in this tutorial page is incorrect where it says "$hello file":
An important point to note is that the template file has the same scope as the mod_helloworld.php file. What this means is that the variable $hello can be defined in the mod_helloworld.php file and then used in the $hello file without any extra declarations or function calls.
My guess is that it should be "helper.php file", but since I'm going through the tutorial for the first time I'm not 100% certain.
Jdm000 20:44, 25 March 2009 (UTC)
- This tutorial does not actually result in a working installable module; the XML lacks an 'administration' section and thus will not install in Joomla! 1.5; tested in 1.5.9. Alandsidel 15:05, 8 July 2009 (UTC)
- Scratch this, I was using an XML file I copied from a component and started to modify as a baseline, so it still had 'type="component"' in the install tag. Alandsidel 15:21, 8 July 2009 (UTC)