{{ PageBuilder::block($block_name, $options) }}
ie. {{ PageBuilder::block('title') }}
returns text
Method options ($options):
'meta' => true (default: false - allows %site_name%, %page_name% replaces)
'source' => 1 (default: null - replace newlines with <br /> is set to anything)
{!! PageBuilder::block($block_name, $options) !!}
ie. {!! PageBuilder::block('title') !!}
returns text
Method options ($options):
'length' => 200 (default: false - trims the text to 200 characters if over, will trim to the end of a word and add ...)
{{ PageBuilder::block($block_name, $options) }}
ie. {{ PageBuilder::block('date', ['format' => 'F j, Y']) }}
returns formatted date/time
Method options ($options):
'format' => 'F j, h:i:s' (default: is mysql date format, format option uses default php date constants)
{{ PageBuilder::block($block_name, $options) }}
ie. {{ PageBuilder::block('link') }}
returns link url (if it is set to open in a new window '" target="_blank' will be appended)
Based on Laravel 5
Additional features always being planned/researched
"git" involved
Announcing (belatedly) Coaster CMS version 5.5...
So, somewhat belatedly we have launched Coaster CMS version 5.5, which is now based on Laravel v5.5 (LTS) and mostly includes a major "under the hood" update that will make Coaster more stable and als...
Coaster CMS v5.4 is here
So, Coaster CMS v5.4 has arrived and I'm just going to give you an overview of the new features. We think this update will really help people grasp the concepts around Coaster and give you ideas o...
Where is Data Stored in Coaster CMS
We've had a couple of discussions recently with people trying to understand the data structure of Coaster and more specifically, where data is stored in Coaster CMS and I thought I'd summarise some of...