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:

  1. Navigate to Content » Content blocks.
  2. Click Create a content block button.
  3. 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.
  4. Click Create.

When you create content blocks, you can access additional functions in the Actions menu (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_sibling_items (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:
  1. Navigate to Content » Content blocks.
  2. Make your changes.
    For more information, see Create content blocks.
  3. 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:

  1. Navigate to Content » Content blocks.
  2. Select the content blocks you want to assign the same tags or categories to.
  3. Click Bulk actions » Assign tags and categories.
  4. Select or create the tags and categories. 
    For more information, see Classify content.
  5. 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  (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  (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:

  1. Navigate to Content » Content blocks.
  2. Select a content block or multiple content blocks.
  3. Click Actions or Bulk actions depending on whether you selected one or multiple content blocks.
  4. Click Delete.
  5. Confirm by clicking Delete content blocks or Cancel to keep the content blocks.

 

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?

Next article

Events