Development

How do I create a "calling page" Index Block?

This Index Block, which is usually referred to as a calling page or current page Index Block, is one of the most used Blocks in Cascade CMS.

Creating an Index Block

  • Select Add Content > Block > Index.
  • Choose a system name (e.g. "calling-page").
  • For the Index Type field choose "Folder Index".
  • For the Rendering Behavior field select "Render normally, starting at the indexed folder".
  • For the Depth of Index field type "0".
  • For the Indexed Asset Content field check:
    • Append Calling Page Data
    • Regular Content
    • User Metadata
  • For the Indexed Asset Types field check "Pages"".
  • For the Page XML field select "Render page XML inline".
  • Click Submit.

Previewing an Index Block

Because this type of Index Block requires a context page to render, previewing the Index Block will show:

<page-required-to-render-this-index-block />

To preview the generated XML structure, you can to use the Preview Format options when creating/editing a Format:

  • Select Block for asset type.
  • Choose your newly created Index Block.
  • Choose your desired context page.