LayoutsLayouts are kind of templates files, but they do not refers to a particular view. You can create any kind of tree structure inside the 'layouts' folder of your component, and then call them with an easy syntax. DeclarationHave a look in the given example in your component: layouts/form/fieldset.php The layout recieve the datas trough $displayData array. Instance the layoutecho JLayoutHelper::render('form.fieldset', array( 'fieldset' => $fieldset )); form.fieldset is the namespace wich will automatically load : learn more : JLayout |
|
WOW.. WOW... WOW... This is awesome... in less than 3 hours of work I have my application done... this is simply the best tool I ever tried to generate Joomla Components... Thank you very much for this tool and your answer.. it helped me a lot... My friends here in Brazil are going nuts with this...