Calendar-Widgets

calendar.list calendar.waste


calendar.list

Displays a calendarlist

Parameters
{{ calendar.list(id, title, count, color, repeat, calendar, weekday, info, daycount) }}
id
unique id for this widget (optional)
title
a title to display (optional)
count
the number of displayed calendar entries (optional, default 25)
color
one color for all or a list of colors for each calendar (optional, grey or as defined in configuration)
repeat
the refresh interval for this widget (optional, default 1h)
calendar
name of calendars to show, multiples in array form (optional, default: as defined in configuration)
weekday
option to display the weekdays: 'D' = short format, 'l' = full name (optional, default = '')
info
option for display of link and location info: ''= on the list item, 'active'= in a clickable content field (optional, default = '')
daycount
the time span for the calendar counted in days. '0' means all entries. (optional, default 0)
More Information
Examples
{{ calendar.list('', '', 3) }}
Events of one calendar only, short weekday format and clickable info field:
(refresh page if no info field is shown)
{{ calendar.list('', 'Events in "Personal"', 3, '', '', 'Personal','D', 'active') }}

Events in "Personal"

Calendars with individual colors and long weekday format:
{{ calendar.list('', '', 3, ['#993399','green'], '', ['Personal','Waste'], 'l') }}

Author: Martin Gleiß, Stefan Widmer

Widgets

Design

Misc