Calendar:iCalendar
- Home
- Documentation
- Modules
- Calendar
- Tags
- iCalendar
The Calendar:iCalendar loop is available for event exporting purposes. It outputs an ICS (RFC-2445) compatible file, which can then be imported into other programs such as Google Calendar, Apple iCal, Microsoft Outlook, Lightning, etc.
The iCalendar function contains preformatted info within it's tags, so nothing is to go inbetween the Calendar:iCalendar tags, etc. When the template that contains this tag is accessed, the browser will instantly prompt the user to download a file.
{exp:calendar:icalendar}{/exp:calendar:icalendar}
Parameters
All of the parameters listed in Calendar:Events are available for use here.
Examples
The below code example is a complete example of how you would use the iCalendar feature:
{exp:calendar:icalendar orderby="title" sort="asc" date_range_start="today" show_months="3" dynamic="off"}
{/exp:calendar:icalendar}


