Archived talk

Developing a MVC Component/Example of a frontend update function

From Joomla! Documentation

Revision as of 04:36, 24 January 2012 by Lightinthedark (talk | contribs) (Created page with "This section of the tutorial seems to say that to add an "update" view to the helloworld component a new entry point file must be created with the same name as the view ("updhell...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This section of the tutorial seems to say that to add an "update" view to the helloworld component a new entry point file must be created with the same name as the view ("updhelloworld.php" in that example). I think this is wrong because: 1) I can delete this file and the example component still works 2) None of the other components have this structure (eg com_users just has a switch in the main controller's display to select different displays based on view name) 3) A "die()" in that file never gets executed.

Note that "helloworld.php" (without the "upd" prefix) was created as the entry point back in part 2.

-Dave