Create valid iCalendars in seconds.
- ExpressionEngine 2.1.3+
To install Easy iCalendar, simply copy the entire easy_ical
folder to
/system/expressionengine/third_party
on your server.
{exp:easy_ical:calendar timezone="Pacific/Auckland" name="My Simple Event Calendar"}
{exp:channel:entries channel="events" show_future_entries="yes" show_expired="yes" limit="20"}
{exp:easy_ical:event uid="{entry_id}" start_time="{entry_date}" end_time="{expiration_date}" location="{event_location}" summary="{title}"}
{event_description}
{/exp:easy_ical:event}
{/exp:channel:entries}
{/exp:easy_ical:calendar}
All of the CRLF line endings and character escaping will be handled for you automatically.
NOTE: Any code in your template outside of the {exp:easy_ical:calendar} tag will be ignored!
Specify the timezone for all dates
Give your calendar a name
Force the specified content type (for debugging). Defaults to text/calendar; charset=UTF-8
Any text inside the event tag will be used as the event description.
A unique identifier for the event
The event start time/date
The event end time/date
The event location (text). You probably want to pull this from a custom channel field.
The event summary (title). You probably want to pull this from a custom channel field.
Allows you to add a link to the event.
This adds a simple sequence number to the event. This is needed if you update an entry, otherwise iCal won't update the event. Use a simple counter custom field, like Reevision
1.2 (2013-07-08)
- ExpressionEngine 2.6 compatibility
1.1.1 (2011-06-09)
- Adjusted the output slightly to fix compatibility issues with some versions of iCal
1.1 (2011-05-05)
- Added url="" and sequence="" parameters (thanks to GDmac)
1.0 (2010-11-24)
- Initial release