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 |
|
Just wanted to congratulate you on the J-Cook website / web development tool. In a couple of visits I've had a play around with Cook and have to say I think it is fantastic. I've played with a number of component builders in the past and yours is certainly looking like the best so far. I'd also like to help you spread the word - I'm really surprised more people aren't excited about this tool. Good luck with the project.