For more help, visit the WebGUI Community Wiki.
These variables are available to the Calendar List View
- new_year
- This variable is true when the current event is in a different
year than the previous event.
- new_month
- This variable is true when the current event is in a different
month than the previous event.
- new_day
- This variable is true when the current event is in a different
day than the previous event.
- url_previousPage
- The URL to the previous page. If there is no previous page, this
variable will not exist.
- url_nextPage
- The URL to the next page. If there is no next page, this
variable will not exist.
- start
- A set of date/time variables with the prefix "start" that all deal with the starting date of the displayed interval for the List view of the Calendar. See "Calendar Date/Time Variables" for more information.
- end
- A set of date/time variables with the prefix "end" that all deal with the ending date of the displayed window for the List view of the Calendar. See "Calendar Date/Time Variables" for more information.
- 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.