Layout (Page)Tables contains Pages. Note : In past, we used the term 'layouts' but it is too confusing with JLayout, so the name Page is preferred now.
Create a new page1. Click the [ + ] button and choose a page type to create. A page can be in front-end or in back-end. A page can be plural (Collection), singular (Item).
2. Give a name and press Enter. Naming
Forbidden namesSome aliases are not allowed for your layout alias : ajax, import, modal, xxxx, xxxxs, yyyy, yyyys, zzzz, zzzzs Entry point :Determines if this page is the default template to load when the view is called with no layout specification. When you change the entry point from a page to another, the aliases of the pages changes. The previously defaulted page take then its new alias value from the item-alias of the table.
Fields
From this window, you can pick up the fields to instance on your pages.
Bricks
Bricks is a Cook Self Service concept that simply represent a sub template. Create a new brick:
(complete list to come)
Tasks
The tasks are to be instanced in a Toolbar brick.
Filters
The filters are to be instanced in a Filters brick.
Templates files
|
|
Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.