List of Replacement Variables

Article Topics: Design, Blocks

Available Replacement Variables

Please Note: Using the "type.debug" format will display all the respective data for that replacement type on your page.

CMS Area

The following replacement variables can be used in the HTML field of an HTML Block.

Name
Replacement Variable
Results

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

Name
Replacement Variable
Results

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

Name
Replacement Variable
Results

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

Name
Replacement Variable
Results

Site Name

{{site.name}}

Displays Site's Name

Site ID

{{site.siteid}}

Displays Site's ID

Tour Details

Name
Replacement Variable
Results

Tour Name

{{tour.name}}

Displays Tour's Name

Tour ID

{{tour.siteid}}

Displays Tour's ID

Name
Replacement Variable
Results

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

Name
Replacement Variable
Results

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

Name
Replacement Variable
Results

Any QS Param

{{qs.PARAM}}

Logical Examples

If/Else:

{{if A=} X {else} Y {end}
Replacement Variables

Last updated

Was this helpful?