Guide
calendars.calendars
You can use the craft.calendars.calendars
tag to retrieve a list of your calendars.
It returns an array of CalendarModel
objects.
Querying Calendars
|
Parameters
The calendars.calendars
tag doesn’t need any parameters, but accepts id
, handle
, and name
parameters to filter the calendars list.
You can use these parameters just like querying for other elements in Craft:
{% set calendars = craft.calendars.calendars.handle(['a', 'b']) %}
Caught a mistake or want to contribute to the documentation?
Submit a PR via Github
or
email Support.