Templates and layouts

A resource is visualized through a template and layout.

A layout is how you position the elements in your resource, A template is a layouts container.

Templates

There is one main template in the platform named brixy_default located in brixy/coomon/view/default.

It is always used unless another is set in Brixy global configuration.

When opening a resource, if it is not through a link from an application menu, the selected basic template is loaded in brixi configuration.

For each menu link, a template can be set to be used. If brixy_default template is selected, then the selected template from the global settings will be loaded.

If an edit form or view record is opened from a list, then the selected template from the list is inherited. Otherwise, the global selected template is used.

The same applies to pages and subcategories opened through a category.
-------------

Layouts

Each resource uses a layout.

Default layouts are in Brixy/common/layouts which are used by default.

These may overlap with others located in the app/layouts/resource_type/layout_name folder.

An individual layout can be set for each resource by selecting from a list. This list in the menu link settings contains all the layouts created in the overlay folder.