Skip to main content

Global object

Site​

The global:Site holds the website base info as well as the menu of the website

{global:Site}
{:LogoImageS}
{:LogoImageL}
{:LogoText}
{:Description}
{:Icon}
{:Title}

{block:Tags}
{block:Tag}
{:Value}
{/block:Tag}
{/block:Tags}
{/global:Site}

Route​

The global:Route is the menu item for the current call.

{global:Route}
{:Id}
{:Name}
{:IsHome}
{:Path}

{block:PathItems}
{block:PathItem}

{:Id}
{:Name}
{:IsHome}
{:IsHidden}
{:IsNonClick}
{:Path}

{/block:PathItem}
{/block:PathItems}
{/global:Route}

Contact​

global:Contact holds the Company contact
Note: it is possible for the contact to hold Agent contact info if the website is a agent website.

{global:Contact}
{:Address}
{:City}
{:State}
{:Zip}
{:Latitude}
{:Longitude}

{block:ContactItem}
{:Type}
{:Name}
{:Contact}
{/block:ContactItem}
{/global:Contact}

Social​

global:Social holds the Company social
Note: it is possible for the social to hold Agent social info if the website is a agent website.

{global:Social}
{block:SocialItem}
{:Url}
{:Type}
{/block:SocialItem}
{/global:Social}

global:Menu holds the Menu data

{global:Menu}
{/global:Menu}

Date​

global:Date holds the today's date info
Note: The issue with this is that the date will be cached with the page. Removing the cache it will force the website to recalculate the data. In the future, this data should be based on the browser's data and not server.

{global:Date}
{:Year}
{:Month}
{:MonthString}
{:Day}
{:DayString}
{:DayOfWeek}
{/global:Date}

Editor​

:EditorMode a flag indicating if the current tempalte is rendered on the user website editor

{global:Editor}
{:EditorMode}
{/global:Editor}

Vars​

:IsAnalyticsEnabled a flag indicating if the analytics are enabled on the website (not in use for now)

{global:Vars}
{:IsAnalyticsEnabled}
{/global:Vars}