Content blocks
Overview
You create content blocks to display generic information, that is, all information that is not a predefined content type, such as news or event announcements. For example, a content block can be useful when you need to create text that will be used on many pages of your website, such as the company address.
You manage content blocks on the Content blocks page. To open the page, in the toolbar, click Content » Content blocks.
Create content blocks
To create a content block:
- Navigate to Content » Content blocks.
- Click Create a content block button.
- Fill out the title and content of the content block and, optionally, assign categories and tags.
For more information see, Work with the New content editor.
- Click Create.
When you create content blocks, you can access additional functions in the (More options) menu, available in the upper right corner of the page.
There you can:
- Duplicate the content block
Create a copy of the content block that you can edit. You must change the title of the content block.
- Set permissions
For more information, see Permission.
- See the revision history
For more information, see Revision history of content and media items.
These options are also available from the Actions menu of the selected content block in the Content blocks page.
In addition, you can also browse the rest of you content blocks and open them for editing by clicking (Browse other content blocks) button in the upper right corner of the page.
NOTE: All extensions of the rich-text editor are visible in content blocks, widget designers, and long-text fields of all items that have the rich-text editor.
Edit content blocks
To edit a content block:
- Navigate to Content » Content blocks.
- Make your changes.
For more information, see Create content blocks.
- Click Save changes.
IMPORTANT: Shared content blocks do not have workflow. When you edit a content block, the change is immediately visible on all pages and templates that use the content block.
Bulk assign tags and categories
You can assign tags and categories to multiple content blocks at the same time. To perform this:
- Navigate to Content » Content blocks.
- Select the content blocks you want to assign the same tags or categories to.
- Click Bulk actions » Assign tags and categories.
- Select or create the tags and categories.
For more information, see Classify content.
- Click Save changes.
Display content blocks
To display content blocks on your website, you must use the
Content block widget and you must configure it. For more information, see
Display content on your website and
Content block widget.
Filter content blocks
Filtering lets you refine the list of content blocks that are displayed. To display the filtering options, click (Filter content blocks). You have the following filtering options:
- All content blocks
This is the default filtering option and it displays all content blocks.
- My content blocks
Displays only the content blocks created by the current user.
- Not used in page or templates
Displays only content blocks that are not used in page or templates.
- Custom filter
You can further filter content blocks by Category, Tag, Author, or Date modified.
Sort content blocks
To display the sorting options, click
(Filter content blocks).
You have the following sorting options:
- Last created on top
Sorts content blocks in descending order, according to the time of creation.
- Last modified on top
Sorts content blocks in descending order, according to the last time of modification.
- By title (A-Z) or By title (Z-A)
Sorts content blocks alphabetically - ascending or descending.
Set permissions for content blocks
You can set permission for all content blocks, as well as individual permissions for each content block. For more information, see
Grant permissions for content.
Delete content blocks
To delete content blocks:
- Navigate to Content » Content blocks.
- Select a content block or multiple content blocks.
- Click Actions or Bulk actions depending on whether you selected one or multiple content blocks.
- Click Delete.
- Confirm by clicking Delete content blocks or Cancel to keep the content blocks.