Help: Calendar View Month Template Variables

For more help, visit the WebGUI Community Wiki.

This template shows all events in a month in the calendar.

weeks
A loop containing loops of events, by day.
days
This loop contains all the events and labels for the days that they occur in. All days in a week are included in the loop, whether they contain events or not.
dayUrl
A URL to view all events on this day.
dayMonth
Which day of the month this day is, an integer from 1..31.
dayCurrent
A boolean which is true if this day is today.
events
This loop contains all the events for this day.
pageNextUrl
A URL to the next year in the calendar.
pagePrevUrl
A URL to the previous year in the calendar.
pageNextYear
The year that follows the current one in the Calendar.
pagePrevYear
The year that preceeds the current one in the Calendar.
monthName
The name of this month.
monthAbbr
The abbreviation of the name for this month.
year
The 4 digit year.
dayNames
A loop containing names and abbreviations for the days of the week.
dayName
The name of the current day.
dayAbbr
The abbreviation for the name of the current day.
months
A loop containing names and URLs for navigating among the months in a year.
monthName
The name of this month.
monthAbbr
The abbreviation of the name for this month.
monthEpoch
The epoch date for this month.
monthUrl
The URL to change the calendar to display this month.
monthCurrent
A boolean which is true if the calendar is displaying this month.
admin
A conditional that will be true if the user has Admin mode turned on.
adminControls
These are the icons and URLs that allow editing, cutting, copying, deleting and reordering the Asset.
editor
A conditional that will be true if the user is in the group allowed to edit events in the calendar.
urlAdd
A URL to add an event to the calendar.
urlDay
A URL to the 1 day view of the calendar.
urlWeek
A URL to the week view of the calendar.
urlMonth
A URL to the month view of the calendar.
urlSearch
A URL to the search form for the calendar.
urlPrint
A URL to the printable view of the calendar.
urlIcal
A URL to the iCal feed for the calendar, starting at this month.
paramStart
The starting date of the calendar.
paramType
The current view of the calendar, one of the strings "day", "week", "month".
extrasUrl
A URL to the WebGUI extras directory.
webgui.version
The version of WebGUI on your site.
webgui.status
The release status for this version of WebGUI (stable, beta, gamma, etc.)
session.user.username
The current user's username.
session.user.firstDayOfWeek
From the current user's profile, the day they selected to be the first day of the week.
session.config.extrasurl
From the WebGUI config, the URL for the extras directory.
session.var.adminOn
This variable will be true if the user is in Admin mode.
session.setting.companyName
From the WebGUI settings, the company name.
session.setting.anonymousRegistration
From the WebGUI settings, whether or not anonymous registration has been enabled.
session form variables
Session Form Variables
Any form variables will be available in the template with this syntax:
<tmpl_var session.form.variable>
If there is more than 1 value in a form variable, only the last will be returned.
session scratch variables
Session Scratch Variables
Any scratch variables will be available in the template with this syntax:
<tmpl_var session.scratch.variable>
controls
These are the icons and URLs that allow editing, cutting, copying, deleting and reordering the Asset.
 
 
Admin Console
Help: Calendar View Month Template Variables
*
Admin Console