Blocks

A block is a piece of content that can be inserted (with or without styling) into any page region.

Introduction

A block is a piece of content that can be inserted (with or without styling) into any page region. Therefore, whenever there is content that is common to many pages or regions, e.g. an “About the Company” section that appears after every press release and newsletter, that content should be put into a block. Doing so allows the appropriate content to appear in many pages while always being updated from one place, making it easy to maintain consistency in that text/markup across many pages. Cascade users can reuse a single block on an unlimited amount of page regions.

Blocks can contain static content, content that does not change unless modified by a user, or dynamic content, content that changes based on updates outside of Cascade CMS or other day-to-day activities.

There are five types of blocks in Cascade CMS:

  1. Index Block - Used to dynamically generate system assets as XML.
  2. Text Block - Static text content.
  3. XML Block - Static XML content.
  4. XHTML/Data Definition Block - XHTML content or Data Definition form fields for editing content.
  5. Feed Block (XML) - Dynamic XML from a third-party server (e.g. RSS feed).

The text or markup contained by a block can be plugged into a page region at three different levels:

  • Template level
  • Configuration level
  • Page level
When a block is plugged into a page region at the template level, the block content will appear in any pages using that template. Any blocks assigned at the page configuration level will appear in any pages using that configuration.