• Would it be possible to have the original summary and description from a recurring event?

    Recurring events are not being imported when they already exist. That’s great to prevent flooding the database with useless info. But sometimes (in my case for example) you change the summary and description for a specific date.

    Usually (in case of Google Calendar ical) the feed only gives the same recurring events when they have been changed. So the “original” is in the feed, and the event for every date which has been modified.

    Can we fetch these events, and hook them into the ‘original’, so we can link to the event, but get the right summary and description? Perhaps with an additional ID?

    https://wordpress.org/plugins/event-organiser/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Stephen Harris

    (@stephenharris)

    Unfortunately not – the plug-in doesn’t support summary/description on a date basis – that is a recurring event only has one summary/description. To have a separate description it’s necessary to create the dates as separate events entirely.

    The plug-in does allow you to ‘break an occurrence’ from the series, which removes the date from the recurring event and creates it as a separate event in its own right.

    Thread Starter Doeke Norg

    (@doekenorg)

    Hi Stephen,

    Thanks for the reply.

    I’ve been looking over your code for the past days, and found a way I can save the information to another table. Linking these rows to the correct post and event where a bit of a hassle but it worked.

    To make my (and maybe other people’s) life easier, would you be willing to add a few extra wordpress hooks?

    I would suggest a hook in:
    – “parse_ical_array” just before $this->current_event = array(); with the (complete) current_event
    – “_eventorganiser_insert_occurrences” with the post and the occurrence data

    I’m now using the occurrence data from the wp_cache, just before it’s cleared.

    I’ve also seen that you don’t save the given UID with the post. That would be a great help in matching reoccurring items to the original post.

    Anyway, thanks for the great plugin. Hope you’re willing to make the additions 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Recurring event with different summary and description’ is closed to new replies.