Name: oc-blocks-theme
Owner: Liip
Description: OctoberCMS theme that demonstrates the use of repeater groups to assemble static pages with customizable building blocks.
Created: 2017-11-02 19:29:53.0
Updated: 2017-11-23 11:07:53.0
Pushed: 2017-11-02 19:44:14.0
Homepage: null
Size: 23
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
clone this repo into your octobercms themes folder.
(assume your in the root of your octobercms installation)
NOTE: the name blocks is important, if you change the themes name you have to alter the groups attribute in the layouts/default.htm repeater to match the path.
hemes
clone https://github.com/liip/oc-blocks-theme.git blocks
in your backend, check the static pages plugin. You now have a blocks tab where you can add different blocks, enter data and even rearrange their order.
To add more block types, edit the meta/groups.yaml file. Important: each group definition has a corresponding partial file in partials/blocks/{group_name}. The form data is passed as 'data'.