Core Concepts

Reusable Blocks

Similar to Pages, Reusable Blocks are groupings of Content Blocks that can be reused on multiple Pages while maintaining the same information.

Concept

Reusable blocks are a way to group Content Blocks together. You can create a Reusable Block with several different Content Blocks, and then add it to multiple Pages to keep them all in sync with any changes.

See the Content Block documentation page for more information on how to create and manage Content Blocks.

Usage

Reusable Blocks follow the same Laravel flat-file caching system that Pages do. For more information about Autoload's caching, please click here.

Creating a Reusable Block

A Reusable Block is a database-only Model, meaning there is no extra coding involved to set one up. The only requirements within the CMS are a Name, Active/Inactive status, and then a list of configured Content Blocks. A Reusable Block has the same access to all registered Content Blocks that a Page does

Each Reusable Block should have a unique name that you will use to select it when adding to a Page.

You may also deactivate a Reusable Block, which will hide it from all Pages that include it by toggling the "Active" checkbox.

Updating a Reusable Block

When updating a Reusable Block's Name or Content Blocks, those changes will automatically be propagated to all the Pages that include that Reusable Block. No extra steps are required when updating a Reusable Block.

Previous
Content Blocks
Next
Menus
Code highlighting provided by Torchlight