Herman Peeren
unread,Aug 30, 2012, 11:14:36 AM8/30/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to joomla-de...@googlegroups.com
Hi Foysal,
I think you mean the second XML-file: site/views/helloworld/tmpl/default.xml
That file is used to give the menu-manager the view you want to display and, as is the subject of this article article in the series, the helloworld-messag you want to show. The new helloworld-field is filled in the field-definition you see in the file under it. Parsing of the parameter in the field is done by the menu-system. The result of that field is: the id of the helloworld-message you want to show in the view. That id is given to the component and used by the model to choose the right message.
The first XML-file in the article, helloworld.xml, is only used to install the component. During execution of the program it is not used anymore.
The installer reads it, puts the files on the right place, sets the component in the database, performs the sql etc.
Or
are you looking for some more explanation of how this so-called
'manifest' is built up and what the exact meaning of all tags is?
Best regards,
Herman