Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Need to create a custom widget or layout that isn’t available in the templatestemplate? Here’s how.

Note

Only site admins have the access necessary to take the below steps.

...

Code Block
<text identifier="block-type" type="radiobutton" default="myCustomWidget">
  <radio-item value="myCustomWidget"/>
</text>

The templates template will use the value of block-type to match this widget with its corresponding Velocity macro (step 4).

→ More: Data Definitions on the Hannon Hill Cascade CMS Knowledge Base

Step 2: create your widget / layout block

...