Skip to content

Tokens to be used in Templates

femkevanderzalm edited this page Sep 8, 2016 · 15 revisions
Tokenname Description
[event:title] Event title and the sub calendar modulename when defined in settings
[event:subcalendarname] The sub calendar modulename when defined in settings
[event:subcalendarnameclean] The sub calendar modulename when defined in settings without brackets
[event:eventimage]§ Image when one is associated with the event
[event:eventthumb]§ Image thumbnail when an image is associated with the event
[event:imageurl]§ URL of the event image when one is associated with the event
[event:startdatelabel] Label defined for start date in the resource file
[event:startdateformat] Start date formatted (optional) by the format string *
[event:enddatelabel] Label defined for end date in the resource file
[event:enddateformat] End date formatted (optional) by the format string *
[event:durationdayslabel] Label defined for duration days in the resource file
[event:durationdays] Duration of the event in whole integer days
[event:timezone] Timezone description
[event:importancelabel]§ Label defined for importance in the resource file
[event:importance]§ Importance with icon (for low and high importance)
[event:importanceicon]§ Importance Icon
[event:descriptionlabel] Label defined for description in the resource file
[event:descriptionlength] Description defined in the event, optionally shortened to specified length
[event:summarylabel] Label defined for summary in the resource file
[event:summarylength] Summary defined in the event, optionally shortened to specified length
[event:categorylabel] Label defined for category in the resource file
[event:category] Category associated with the event
[event:categoryname] Name of the Category associated with the event with no colors applied
[event:categoryfontcolor] Font color for the event category
[event:categorybackcolor] Background color for the event category
[event:locationlabel] Label defined for location in the resource file
[event:location] Location associated with the event
[event:locationname] Name of location associated with the event
[event:locationurl] URL of location associated with the event
[event:locationaddresslabel] Label defined for address of location in the resource file
[event:locationstreet] Street and housenumber of location associated with the event
[event:locationpostalcode] Postal code of location associated with the event
[event:locationcity] City of location associated with the event
[event:locationregion] Region of location associated with the event
[event:locationcountry] Country of location associated with the event
[event:recurringlabel]§ Label defined for recurrence in the resource file
[event:recurring]§ Recurrence defined in the event
[event:recurringicon]§ Recurrence Icon
[event:customfield1label] Label defined for custom field 1 in the resource file
[event:customfield1] Custom field 1 defined in the event
[event:customfield2label] Label defined for custom field 2 in the resource file
[event:customfield2] Custom field 2 defined in the event
[event:titleurl]§ HREF to the event detail page including title
[event:eventurl]§ URL to the event detail page
[event:createdbylabel]§ Label defined for created by in the resource file
[event:createdby]§ Name of user the event was Created By
[event:createdbyid]§ Userid of user the event was Created By
[event:createdbyurl]§ URL of the profile of user the event was Created By
[event:createdbyprofile]§ Link to the profile of user the event was Created By
[event:createddatelabel] Label defined for created date in the resource file
[event:createddateformat] Date the event was created
[event:ownedbylabel] Label defined for owned by in the resource file
[event:ownedby]§ Name of user the event is Owned By
[event:ownedbyid]§ Userid of user the event is Owned By
[event:ownedbyurl]§ URL of the profile of user the event is Owned By
[event:ownedbyprofile]§ Link to the profile of user the event is Owned By
[event:lastupdatedbylabel]§ Label defined for last updated by in the resource file
[event:lastupdatedby]§ Name of user the event was Last Updated By
[event:lastupdatedbyid]§ Userid of user the event was Last Updated By
[event:lastupdatedbyurl]§ URL of the profile of user the event was Last Updated By
[event:lastupdatedbyprofile]§ Link to the profile of user the event was Last Updated By
[event:lastupdateddatelabel] Label defined for last updated date in the resource file
[event:lastupdateddateformat] Date the event was last updated
[event:alldayeventtext] Label used for an All Day Event - e.g. '(All Day)'
[event:maxenrollmentslabel] Label of Max Enrolments
[event:maxenrollments] Maximum number of enrolments for the event
[event:noenrollmentslabel] Label of No. Enrolments
[event:noenrollments] Number of people currently enroled for the event
[event:novacancieslabel] Label of No. Vacancies
[event:novacancies] Number of vacancies currently available for the event
[event:enrollfeelabel]§ Label of Enrolment Fee
[event:enrollfee]§ Enrolment fee including currency
[event:enrollicon]§ Enrolment Icon
[event:reminderlabel]§ Label of Notification
[event:reminder]§ Notification information
[event:remindericon]§ Notification Icon
[event:viewicon]§ Shows the View Icon for events with a custom detail page, when the user is the event editor
[event:editbutton] Adds a button using the standard edit button image that links to the event edit page. The button is only visible to event editors, and only in standard display views (Month/Week/Day/List/Repeater) and tooltips.
[event:eventid] ID of the event as recorded in the Events table
[event:eventmoduleid] ID of the module instance the event was created in
[event:enrollmentdefaulturl] Default URL of the custom/external enrollment page

Only available in enrolment emails

Tokenname Description
[event:signupuserid] Userid of user enrolled to an event
[event:signupusername] Full name of user enrolled to an event
[event:signupuserfirstname] First name of user enrolled to an event
[event:signupuserlastname] Last name of user enrolled to an event
[event:signupuseremail] Email of user enrolled to an event
[event:signupuserstreet] Street of user enrolled to an event
[event:signupuserpostalcode] Postal code of user enrolled to an event
[event:signupusercity] City of user enrolled to an event
[event:signupuserregion] Region of user enrolled to an event
[event:signupusercountry] Country of user enrolled to an event
[event:signupusercompany] Company of user enrolled to an event
[event:signupuserjobtitle] Job title of user enrolled to an event
[event:signupuserrefnumber] Reference number of user enrolled to an event
[event:signupdatelabel] Label defined for start date in the resource file
[event:signupdateformat] Start date formatted (optional) by the format string *
[event:noenroleeslabel] Label of number of people enroled by this user
[event:moderateurl] URL of the moderation page

Only available in List View Repeater Templates

Token Description
[event:repeaterheadertext] Localizable header text (TokenListRptHeader) - Header template only
[event:repeaterzeroeventstext] Localizable text for text (TokenListRptHeaderZeroEvents) to displayed when there are no events to be listed - Header template only
[event:repeatertooltip] Event tooltip when not using table layout - advanced users only. E.g. <li [event:repeatertooltip]>[event:title]</li> Body template only.
[event:repeaterfootertext] Localizable footer text (TokenListRptFooter) - Footer template only
IFZEROEVENTS. Used in format [IFZEROEVENTS] [event:repeaterzeroeventstext[/IFZEROEVENTS] to include the text when there are no events - Header template only.

Only available in Social Groups

Token Description
[event:socialgrouprolenamelabel] Localizable token for the group name label
[event:socialgrouprolename] The name of the group
[event:socialgrouproleid] The ID of the group

Only available in User Profiles

Token Description
[event:socialuserusernamelabel] Localizable token for the user name label
[event:socialuserusername] The user's username
[event:socialuserdisplaynamelabel] Localizable token for the display name label
[event:socialuserdisplayname] The user's displayname

§ - These tokens are not available in Event Reminders when running in Medium Trust
* - See section below for date formatting advice

Clone this wiki locally