This plugin allows to manage front-end static blocks. It contains CMS components that could be added to a CMS page or layout to show blocks easily. The plugin includes English localization file, you can add more language to use.
This plugin's different from October CMS standard content blocks in several ways:
- It stores content the the database.
- It manage block items with a backend grid, easy for searching, deleting and editing when there are many blocks.
- Easy to integrate with Wysiwyg Editors, so users can do easily to preview the HTML source code or edit content directly in WYSIWYG mode.
- Track users who created or updated content blocks.
First create a content block with the Published status. Then add to CMS layout or page the staticBlock component:
If some cases you want many instances of static block [https://octobercms.com/storage/app/uploads/public/575/67c/96a/57567c96a9075331036828.jpg]
view you can do as the following:
[staticBlock contactUsBlock] blockcode = "contact-us" display = "yes" [staticBlock ourStoryBlock] blockcode = "our-story" display = "yes" == {% component 'ourStoryBlock' %} {% component 'contactUsBlock' %}
The blockcode
property refers to the static block code you want to show.
-
Hessel
Found the plugin useful on 21 Jun, 2016
Great plugin. Developer really put some effort in if you ask him for some help. fast response. love it.
-
1.0.7 |
Fix permission error Oct 29, 2016 |
---|---|
1.0.6 |
Update to lastest October CMS version Aug 13, 2016 |
1.0.5 |
Add lang_code column to StaticBlock Table Jun 07, 2016 |
1.0.4 |
Update StaticBlock table - add created_user_id, updated_user_id field Apr 26, 2016 |
1.0.3 |
Update StaticBlock table - add blockcode, is_published field Apr 26, 2016 |
1.0.2 |
Create StaticBlock table Apr 26, 2016 |
1.0.1 |
First version of StaticBlock Apr 26, 2016 |