Help: Event View Template Variables

For more help, visit the WebGUI Community Wiki.

These template variables are used by the template that shows this event to users.

nextUrl
A URL to take the user to the next event in the calendar, by date and time.
prevUrl
A URL to take the user to the previous event in the calendar, by date and time.
canEdit
This variable is true if the current user can edit this event.
isPublic
A conditional that will be true if the group to view this Event is Everyone.
groupToView
The ID of the Group that is allowed to view this event.
startDateSecond
The second, formatted to two digits with leading zeroes, that this event starts.
startDateMinute
The minute, formatted to two digits with leading zeroes, that this event starts.
startDateHour24
The hour, on a 24 hour clock, that this event starts.
startDateHour
The hour that this event starts.
startDateHourM
Depending on whether the event occurs in the morning or afternoon, either the strings "am" or "pm"
startDateDayName
The name of the day the Event starts.
startDateDayAbbr
The abbreviation of the name of the day the Event starts.
startDateDayOfMonth
The day of the month this Event starts, a number from 1 to 31.
startDateDayOfWeek
The day of the week this Event starts, a number from 1 to 7.
startDateMonthName
The name of the month this Event starts.
startDateMonthAbbr
The abbreviation of the name of the month this Event starts.
startDateYear
The year this Event starts, with 4 digits.
startDateYmd
This Event's start date in yyyy-mm-dd format, where yyyy is the year, mm is the month and dd is the day.
startDateMdy
This Event's start date in mm-dd-yyyy format, where yyyy is the year, mm is the month and dd is the day.
startDateDmy
This Event's start date in dd-mm-yyyy format, where yyyy is the year, mm is the month and dd is the day.
startDateHms
This Event's start time in hh:mm:ss format, where hh is the hour, mm is the minute and ss is the second.
startDateEpoch
This Event's start date and time in epoch format.
endDateSecond
The second, formatted to two digits with leading zeroes, that this event ends.
endDateMinute
The minute, formatted to two digits with leading zeroes, that this event ends.
endDateHour24
The hour, on a 24 hour clock, that this event ends.
endDateHour
The hour that this event ends.
endDateHourM
Depending on whether the event occurs in the morning or afternoon, either the strings "am" or "pm"
endDateDayName
The name of the day the Event ends.
endDateDayAbbr
The abbreviation of the name of the day the Event ends.
endDateDayOfMonth
The day of the month this Event ends, a number from 1 to 31.
endDateDayOfWeek
The day of the week this Event ends, a number from 1 to 7.
endDateMonthName
The name of the month this Event ends.
endDateMonthAbbr
The abbreviation of the name of the month this Event ends.
endDateYear
The year this Event ends, with 4 digits.
endDateYmd
This Event's end date in yyyy-mm-dd format, where yyyy is the year, mm is the month and dd is the day.
endDateMdy
This Event's end date in mm-dd-yyyy format, where yyyy is the year, mm is the month and dd is the day.
endDateDmy
This Event's end date in dd-mm-yyyy format, where yyyy is the year, mm is the month and dd is the day.
endDateHms
This Event's end time in hh:mm:ss format, where hh is the hour, mm is the minute and ss is the second.
endDateEpoch
This Event's end date and time in epoch format.
isAllDay
A conditional that is true is this Event has been set to be all day long.
isOneDay
A conditional that is true is this Event starts and ends on the same day.
dateSpan
A friendly display of this Event's start and end dates and times.
url
The URL for this Event.
urlDay
A URL to show all Events on the same day in this Event's Calendar.
urlList
A URL to show Events as a list, rather than a calendar.
urlWeek
A URL to show all Events on the same week in this Event's Calendar.
urlMonth
A URL to show all Events on the same month in this Event's Calendar.
urlParent
A URL to the Calendar that contains this Event.
urlSearch
A URL to the Search form for the Calendar that contains this Event.
urlEdit
A URL to edit this Event.
urlPrint
A URL to render this Event with its template for printing.
urlDelete
A URL to delete this Event.
image.url
The URL to the first image attached to the Post.
image.thumbnail
A thumbnail for the image attached to the Post.
attachment.url
The URL to download the first attachment attached to the Post.
attachment.icon
An icon showing the file type of this attachment.
attachment.name
The name of the first attachment found on the Post.
attachment_loop
A loop containing all file and image attachments to this Post.
url
The URL to download this attachment.
icon
The icon representing the file type of this attachment.
filename
The name of this attachment.
thumbnail
A thumbnail of this attachment, if applicable.
isImage
A conditional indicating whether this attachment is an image.
description
The description of this Event.
startDate
The date this Event starts.
startTime
The date this Event starts.
endDate
The date this Event ends.
endTime
The date this Event ends.
recurId
A unique identifier for this Event's recurrance in the db.
relatedLinks assetVar
The original, unprocessed, related links from the form. This will be all links in one string joined by newlines.
location
Location
feedId
The unique identifier for an iCal feed.
feedUid
The location of this Event.
feedId
The unique identifier for an iCal feed.
UserDefinedN
For each of the 5 User Defined fields, the value of that field.
assetId
The unique identifier for this Asset, in base64 encoding.
assetIdHex
The unique identifier for this Asset, in hexadecimal format.
title
The title of the Asset
menuTitle
The title of the Asset used in Navigations.
url
The Asset's URL.
isHidden
A boolean that will be true if this Asset is set not be displayed in Navigations.
newWindow
A boolean that will be true if this Asset is set open in a new browser window.
encryptPage
A boolean that will be true if this Asset is set to be served over SSL.
ownerUserId
The ID of the user who owns this Asset.
groupIdView
The ID of the group that is allowed to view this Asset.
groupIdEdit
The ID of the group that is allowed to edit this Asset.
synopsis
A short description of the contents of the Asset.
extraHeadTags
Extra tags that will be added to the header of the page containing the Asset. These will be included by default so you do not need to add them youself, unless you want them to be in there twice.
isPackage
A boolean that will be true if this Asset is set to be a Package.
isPrototype
A boolean that will be true if this Asset is set to be a prototype.
status
With respect to version control, the status of this Asset. Typically these are the English strings "approved", "pending", "committed".
assetSize
How big this asset is in bytes. The sum of all database fields and attachments.
keywords
This will be a string with the keywords for this asset. Individual keywords will be joined with spaces, unless the keyword contains spaces, in which case it will be quoted.
 
 
Admin Console
Help: Event View Template Variables
*
Admin Console