1

Sorry if this is obvious but we have an entry which contains multiple venues and dates for a specific event.

I want the user to be able to add a specific venue and date to iCal by simply clicking on a link.

The Easy iCal docs are a bit light so can someone explain the best way to do this.

PS. Using Stash if that makes it easier!

1 Answer 1

1

I'm not even sure whether the ical format supports multiple venues, but I'm pretty sure the easy_icalendar plugin doesn't. It was only designed for our specific requirements (a long time ago), so feel free to bend it to your needs.

To create multiple dates, you would simply create multiple events using a loop inside the calendar tag, as per the example:

{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}
3
  • I realise I wasn't being very clear! I need to use a specific Matrix row but the plugin doesn't generate the specific code if I pass through more than 3 segments. E.g. <a href="{path="ical/event/{entry_id}"}"> Jul 8, 2013 at 20:11
  • dynamic="no" Grrrrr all working now! Jul 8, 2013 at 20:31
  • Hah. ALWAYS use dynamic="no". yes should be the exception. Jul 9, 2013 at 13:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.