Developer manual
Calendar
Renders a calendar using data from Google Calendar
Updated: Type: feed
Method
<select name="feed"><option attribute="value">value</option></select>
Current
Option Attributes
Attribute | Type | Description | Default | Required? | |
---|---|---|---|---|---|
current | format | string | system.template.google.calendar.feed.xslt | Yes | |
current | private | string | Value from the private Google Calendar Feed. The required value is between the 'https://www.google.com/calendar/feeds/' and '/basic' parts of the url. The required value contains a '/' by default - this must be converted to a ':'. |
Yes | |
current | year | option | <query id="year" else="now"/> | Yes | |
current | select | option | <query id="select" else="all"/> | ||
current | weekstart | list | Day of the week to start the display of the calendar. | No | |
current | viewtype | option | <query id="viewtype" else="month"/> | Yes | |
current | show | list | Calendar features to display nextprevious viewtype |
No |
Examples
#1
Request
<if id="pageid" value="calendar"> <p> <select name="feed"> <option value="format">system.template.google.calendar.feed.xslt</option> <option value="private">name%40domain.com:private-abcdefg12345678</option> <option value="year"> <query id="year" else="now"/> </option> <option value="select"> <query id="select" else="all"/> </option> <option value="weekstart">monday</option> <option value="viewtype"> <query id="viewtype" else="month"/> </option> <option value="show">nextprevious viewtype</option> </select> </p> </if>
Embeds the calendar