Difference between revisions of "Developing a MVC Component/Adding a view to the site part"
From Joomla! Documentation
(→tmpl/default.php: new section) |
(→Class name HelloWorld: new section) |
||
Line 2: | Line 2: | ||
At the packaging you are told to include tmpl/default.php. But the view doesn't use it, should it? [[User:Sovainfo|Sovainfo]] ([[User talk:Sovainfo|talk]]) 07:43, 22 May 2014 (CDT) | At the packaging you are told to include tmpl/default.php. But the view doesn't use it, should it? [[User:Sovainfo|Sovainfo]] ([[User talk:Sovainfo|talk]]) 07:43, 22 May 2014 (CDT) | ||
+ | |||
+ | == Class name HelloWorld == | ||
+ | |||
+ | For class naming the <Name> is used. Where does the World come from. Someone reported it is deduced from <name></name> in the component.xml file. After removing space and special characters. Is that correct? [[User:Sovainfo|Sovainfo]] ([[User talk:Sovainfo|talk]]) 07:47, 22 May 2014 (CDT) |
Latest revision as of 07:47, 22 May 2014
tmpl/default.php[edit]
At the packaging you are told to include tmpl/default.php. But the view doesn't use it, should it? Sovainfo (talk) 07:43, 22 May 2014 (CDT)
Class name HelloWorld[edit]
For class naming the <Name> is used. Where does the World come from. Someone reported it is deduced from <name></name> in the component.xml file. After removing space and special characters. Is that correct? Sovainfo (talk) 07:47, 22 May 2014 (CDT)