AgendaDetailIcal
This snippet displays an iCalendar link or download an iCalendar file of an event.
Properties
It uses the following snippet properties:
Property | Description | Default |
---|---|---|
active | If this option is disabled, the active status of an event is not regarded. | 1 (Yes) |
calendars | Comma-separated list of aliases of calendars to filter the iCal download. | - |
calendarsJunction | Since 1.7.0 Database query junction between multiple values in the calendars snippet property. Can be set to AND and OR. | - |
categories | Comma separated list of aliases of categories to filter the iCal download. | - |
categoriesJunction | Since 1.7.0 Database query junction between multiple values in the categories snippet property. Can be set to AND and OR. | - |
contexts | Comma separated list of context keys to filter the iCal download. | - |
contextsJunction | Since 1.7.0 Database query junction between multiple values in the contexts snippet property. Can be set to AND and OR. | - |
descriptionTpl | Name of a chunk that contains the template for the description in the iCal event. | - |
id | ID of one event to retrieve the ical event. | - |
locale | The locale for the displayed formatted date. Defaults to the current system/context locale setting. | - |
locations | Comma separated list of aliases of locations to filter the iCal download. | - |
locationsJunction | Since 1.7.0 Database query junction between multiple values in the locations snippet property. Can be set to AND and OR. | - |
locationTpl | Name of a chunk that contains the template for the location of the ical event. | tplAgendaEventLocationICal |
repeating | ID of one repeating event to retrieve the ical event. | - |
tpl | Name of a chunk that contains the template for iCal download link. | tplAgendaEventDetailICalLink |
useCursus | Since 1.7.2 Bypass the cursus.event_where system setting and don’t fill unnecessary Cursus placeholders. | 1 (Yes) |
usergroups | Comma separated list of user group names to filter the iCal download. | - |
usergroupsJunction | Since 1.7.0 Database query junction between multiple values in the usergroups snippet property. Can be set to AND and OR. | - |
users | Comma separated list of user IDs to filter the iCal download. | - |
usersJunction | Since 1.7.0 Database query junction between multiple values in the users snippet property. Can be set to AND and OR. | - |
where | Since 1.5.0 JSON-encoded xPDO where clause to filter the ical event. | - |
Placeholders
The following placeholders are available in the different (default) chunks. Each
snippet property will be set as placeholder in each template chunk, i.e. a
snippet call [[!AgendaDetail? &subtitle=`whatever`]]
will fill the
placeholder subtitle in each used chunk with the value whatever
.
CAUTION: The default template chunks for both snippets are overwritten during each package update, so please rename the chunks before editing them.
tplAgendaEventDetailIcal
Placeholder | Description |
---|---|
key | The request key for the iCal download link. |
value | The request value for the iCal download link. |