In order to create a Coaster CMS theme you will need two folders named the same (i.e. mytheme).
One folder goes in resources/views and the other goes in public/themes.
The required structure of these folders can be found in Views / Template page.
Once the structure is created, you can then create your theme templates, blocks, menus and sections using the instructions found in these documentation pages.
Alternatively you can install an existing theme. These come uploaded by default if you install the coastercms project.
To manually add a theme just upload the zip file to the /resources/themes/ folder in the root of your project.
You can then go to the "Themes" menu item in the admin of your site, select your theme (mytheme) and click 'Review and Update'.
This will then show you a list of all the blocks the system has found within your templates. Any blocks in green will be new blocks to Coaster. You can review the block type guesses and change by using the dropdown - the system will guess the block type based on the name of your block using the following array:
$typesArr = [
'video' => ['vid'],
'text' => ['text', 'desc', 'keywords', 'intro', 'address', 'html'],
'richtext' => ['richtext', 'content', 'copy'],
'image' => ['image', 'img', 'banner'],
'link' => ['link', 'url'],
'datetime' => ['date', 'datetime'],
'string' => ['link_text', 'caption', 'title'],
'form' => ['form', 'contact']
];
After you are happy with the block types and labels (for the admin fields), click Update at the bottom of the table and your templates and blocks will be saved to Coaster.
It will also scan for types of blocks within the themes/[mytheme]/blocks/repeaters folder so that repeating content blocks will be available to your users on the templates you have included them on.
You can review/change update the block types from here at any time.
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...