1 Defining cells
Cells are defined here:
You also have to define the cells to use in your
Please be aware: You can only add elements that are both defined in your cells.yml and page_layouts.yml!
- name: left_column elements: [image, text]
- name: standard cells: left_column elements: [image, text]
Normally cells are rendered on page_layouts. They can be called with this helper method:
<%= render_cell(:cellname) %>
If you render cells like this, an additional view-partial is rendered, naming scheme is
In this partial use
<%= render_elements :from_cell => 'left_column' %> to render cell-related elements only.