BricksLayouts are composed of Bricks A brick is a sub-template part. When your layout is Collection (plural), the availables bricks are : Grid, Toolbar, Filters. Bricks are instanced per default, but you can add/remove as your please. Common bricksToolbarA toolbar is a wrapper for tasks. Joomla components are using a toolbar object to define and render the possibles operations.
Collection / Plural bricksGridGrids are simple lists. Cook is using this term to make difference simply speaking. Note: A grid brick is created inside a specific sub-template file: ../tmpl/xxxxx_grid.php FiltersAll filters are grouped together in a filter brick
Item / Singular bricksFormA form is a list of inputs to collect datas from the user. Note: A grid brick is created inside a specific sub-template file: ../tmpl/xxxxx_form.php
FlyA fly is a simple view or the datas for an item row.
Note: A grid brick is created inside a specific sub-template file: ../tmpl/xxxxx_fly.php
PropertiesCSS ClassDefine a CSS class to apply on the brick wrapper. Brick aliasDefine the alias af the brick. |
|
I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it