Content Store

The Content Store allows you to create reusable elements, which can be rendered in Pages, Entries, or other Content Store items

Often, there are items which a user wishes to be dynamic in a content layout, template or even a custom view. The ContentBox Content Store allows you to create and group these reusable elements.

Let's say, for example, that you wish to include a block of Contact information in the footer of your site. You could code that directly in to your Layout, but by using the Content Store, you make that content easily editable by Editors and Administrators of your site.

To create Content Store custom content, navigate to Content > Content Store in the sidebar menu and click the "Create Content" button. Then provide your custom content in the editor.

Note the slug value in the editor. You will use this slug to retreive the custom content item in your layout.

Open your them layout or footer view and insert the custom content reference using the shorthand annotation like so:

{{{ContentStore slug='contact-information' }}}

Now your Content Store item will render in the footer of your site theme and can easily be changed from within the administration

Last updated