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

...

Step 5: test, fix, repeat

The internal Cascade API is woefully undocumented, but there are a couple resource you may find helpful…Need help with development? We’ve curated Hannon Hill’s most useful reasources.

→ More:

...

→ More: Velocity Tools on the Cascade CMS Knowledge Base

Also, if you’re looking for a Javadoc reference for the API, you can download it here:

...

Cascade CMS development resources