|
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
calendarid |
text | ID numbers for the site calendars whose events are to be displayed, separated by
vertical bars (| ) |
2.0 | |
maxdays |
digits | Events occurring within this number of days in the future from today will be
included in the list (unless limited by other parameter settings). Default is 365 . |
365 | 2.0 |
max |
digits | Maximum number of events to display. Default is 10 . Set to 0 to display all
(unless limited by other parameter settings) |
10 | 2.0 |
desc |
(blank) 1 0 |
Show the description of the event (shown by default) | 1 | 2.0 |
datetime |
(blank) 1 0 |
Show the time along with the date (shown by default) | 1 | 2.0 |
timespan |
(blank) all past future |
Specify the time span. | future | 10.0 |
usePagination |
(blank) y n |
Activate pagination when Events listing are long. Default is n . |
n | 10.0 |
Below is an example using the 2 calendars at http://dev.tiki.org/tiki-calendar.php. There are two calendars (ID's 1 and 2) and the code below accesses both of them.
This code:
{EVENTS(calendarid="1|2" datetime="1" max="8" maxdays="15")}{EVENTS}
Produced the following on May 3, 2009: