The Dynamic Property template displays dynamic properties. A dynamic property is a piece of content you can reuse throughout your site and update in one place: the Control Panel or Manage Space. To show the same content on several pages without editing each page every time it changes, use dynamic properties and the Dynamic Property Widget. The template is a built-in template and comes with your Axero site.
Key Benefits: One property can appear on many pages, and one edit updates all of them.
Watch this video to see the template in use:
The Dynamic Property template is ideal for:
Best Practice: Use a dynamic property for content that appears in several places and changes often, rather than pasting the same content onto each page.
Below is the HTML of this template, for your reference. It uses Handlebars syntax (placeholders and conditions in double braces) to show or hide parts of the widget based on the widget's settings.
<div class="axero-widget {{CustomCSSClass}} {{#if HideContainerBorder}}axero-widget-no-border{{/if}}"> {{#if ShowWidgetHeader}} <div class="axero-widget-header"> <h3>{{{WidgetTitle}}}</h3> </div> {{/if}} <div class="axero-widget-content axero-widget-content-padded axero-entity-formatted-content"> {{{Contents}}} </div> {{#if ShowWidgetFooter}} <div class="axero-widget-footer"> {{{FooterHTML}}} </div> {{/if}} </div>
{{CustomCSSClass}}
{{HideContainerBorder}}
{{ShowWidgetHeader}}
{{WidgetTitle}}
{{{Contents}}}
{{ShowWidgetFooter}}
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/22709/dynamic-property-template
Your session has expired. You are being logged out.