For more help, visit the WebGUI Community Wiki.
This template shows all events in a week in the calendar, sorted 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.
- dayName
- The name of the current day.
- dayAbbr
- The abbreviation for the name of the current day.
- dayOfMonth
- Which day of the month this day is, an integer from 1..31.
- dayOfWeek
- Which day of the week this day is, an integer from 1..7.
- monthName
- The name of this month.
- monthAbbr
- The abbreviation of the name for this month.
- year
- The 4 digit year.
- ymd
- This day's date in yyyy-mm-dd format, where yyyy is the year, mm is the month and dd is the day.
- mdy
- This day's date in mm-dd-yyyy format, where yyyy is the year, mm is the month and dd is the day.
- dmy
- This day's date in dd-mm-yyyy format, where yyyy is the year, mm is the month and dd is the day.
- epoch
- This day's date in epoch format.
- events
- This loop contains all the events for this day.
- pageNextUrl
- A URL to the next week in the calendar.
- pagePrevUrl
- A URL to the previous week in the calendar.
- startMonth
- The number (1-12) of the month this week starts.
- startMonthName
- The name of the month this week starts.
- startMonthAbbr
- The abbreviation of the name of the month this week starts.
- startDayOfMonth
- The day of the month this week starts, a number from 1 to 31.
- startDayName
- The name of the day this week starts with.
- startDayAbbr
- The abbreviation of the name of the day this week starts with.
- startYear
- The year this week starts in.
- endMonth
- The number (1-12) of the month this week ends.
- endMonthName
- The name of the month this week ends.
- endMonthAbbr
- The abbreviation of the name of the month this week ends.
- endDayOfMonth
- The day of the month this week ends, a number from 1 to 31.
- endDayName
- The name of the day this week ends with.
- endDayAbbr
- The abbreviation of the name of the day this week ends with.
- endYear
- The year this week ends in.
- 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.