Split your page content into manageable blocks/sections of content, each with their own template
Split your page content into manageable sections/blocks of content, each with their own template.
This module gives you the option to create your content, in little blocks, instead of just one big content area.
When the module is installed, a "Blocks" tab will be added to all pages. The blocks tab holds a GridField, that allows you to create as many blocks of content as you would like.
Each block of content can have it's own template assigned. The module commes with a set of standard templates.
You can easily create your own block templates and even your own block DataObjects with unique fields. This makes it very easy for content editors to create pages with lots of variation, without having to know HTML, fiddle around with tables and so on.
Create your own block templates and/or extend the Block DataObject to create:
Tested on Silverstripe 3.1.2
<div class="blocks"><% loop ActiveBlocks %>$Me<% end_loop %></div>
Or you can ask for a single Block to render via it's ID (replace 5 with your ID):
Better buttons for GridField by unclecheese
Or use Composer:
The module will copy content-blocks/templates/BlockTemplates to themes/your_design/templates/BlockTemplates, should this fail, please copy the files manually.
The module will copy content-blocks/css/sections.css to themes/your_design/block.css, should this fail, please copy the file manually.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem