ExpressionEngine plugin that builds valid iCalendar files.
Forked from Expresso's Easy iCalendar ExpressionEngine Plugin
ExpressionEngine v2+
Compatible with EE v2-5
- EE v2: Copy
easy_icaldirectory into/system/expressionengine/third_party/ - EE v3: Copy
easy_icaldirectory into/system/user/addons/ - EE v4: Copy
easy_icaldirectory into/system/user/addons/ - EE v5: Copy
easy_icaldirectory into/system/user/addons/
Along with {exp:easy_ical:event}, builds the iCalendar Core Object
Specify the timezone for all events
- Type: string
- Default:
America/New_York - Options: PHP timezones
Give your calendar a name
- Type: string
- Default:
Save the Date!
Force the specified content type (for debugging)
- Type: string
- Default:
text/calendar; charset=UTF-8 - Options:
text/plain
Name for the generated iCalendar file
- Type: string
- Default:
save-the-date
Along with {exp:easy_ical:calendar}, builds the iCalendar Core Object
A unique identifier for the event, typically {entry_id}
- Type: string
- Default: unix timestamp
The event start date and time, typically {entry_date}
- Type: int
- Default: Current date and time (unix timestamp)
The event end date and time, typically {expiration_date} or custom channel field (date)
- Type: int
- Default: Current date and time + 24 hours (unix timestamp)
The event location, typically a custom channel field (text).
- Type: string
- Default:
New York, NY
The event summary, typically {title} or a custom channel field (text)
- Type: string
- Default:
An event happening in New York, NY
Allows you to add a link to the event.
- Type: string
Needed if you update an entry with the same uid, otherwise iCal will not update the event.
- Type: int
- Default: unix timestamp
{exp:easy_ical:calendar timezone="Pacific/Auckland" name="My 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}
- ExpressionEngine 3+ compatibility
- Refactored methods
- Overhauled documentation
- Updated
nameattr tocalendar_name - Fixed a few conditionals
- ExpressionEngine 2.6 compatibility
- Adjusted the output slightly to fix compatibility issues with some versions of iCal
- Added url="" and sequence="" parameters (thanks to GDmac)
- Initial release
Copyright © Crescendo Multimedia Ltd and individual contributors. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.