List of Replacement Variables
Article Topics: Design, Blocks
Available Replacement Variables
CMS Area
The following replacement variables can be used in the HTML field of an HTML Block.
Area Name
{{area.name}}
Displays Area Name
Area Description
{{area.settings.description}}
Displays Area Description
Active CMS Theme
{{area.cms_theme_id}}
Displays Theme ID
Theme
Theme Name
{{theme.name}}
Displays Theme Name
Theme Design Body Class
{{theme.settings.body_tag_class}}
If Set, displays Theme's Body Class
Theme Design Theme Color
{{theme.settings.--cms-theme-color}}
Displays Theme color in Hex
Member Username
{{member.username}}
Displays Member's Username
Member First Name
{{member.firstname}}
Displays Member's First Name
Member Last Name
{{member.lastname}}
Displays Member's Last Name
Site Details
Site Name
{{site.name}}
Displays Site's Name
Site ID
{{site.siteid}}
Displays Site's ID
Tour Details
Tour Name
{{tour.name}}
Displays Tour's Name
Tour ID
{{tour.siteid}}
Displays Tour's ID
Links
Signup URL
{{links.signup_url}}
Displays the Signup URL Link
Full Signup URL
{{links.full_signu_url}}
Displays the Full signup URL Link
NATSCode
{{links.natscode}}
Displays the NATSCode
Date
Day of the Month
{{date.day}
Displays the Day of the Month
Day of the Week
{{date.dow}}
Displays the Day of the Week
Year
{{date.year}}
Displays the Year
Month
{{date.month}}
Displays the Month
Any PHP Date Format String
{{date.D M j G:i:s T Y}}
Displays the full date including time.
Query String
Any QS Param
{{qs.PARAM}}
Logical Examples
If/Else:
{{if A=} X {else} Y {end}Related Articles
Replacement VariablesLast updated
Was this helpful?