All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

repeated events

chunkitdesign 31 Dec 2017 03:23 question, complete

Hi Low,
my client's website often posts recurrent events, such as prayer meetings. Since the url-title must be unique, would it be a good practice to often put a date after the event url? For example: prayer-meeting-2018-01-12
Please advise. thanks,
Chris
di

Replies

  1. Low 31 Dec 2017 10:20

    Low Events by design doesn't support recurring/repeating events out of the box. Its approach towards the definition of an event would be: one entry == one event. Rules to define recurrence or repetition aren't supported. If you need that, you could take a look at Solspace Calendar.

    If you want to create recurring events manually, then you can. One way is to have two different channels, eg. Event Content and Event Dates. In the former you'd enter the title and description of the event. In Event Dates, you'd add a Relationship field to select an Event Content entry and use the Low Events field to enter the date.

    The issue with the URL title still stands, tho, as you'd need to define a title in the Event Dates entry. This isn't something Low Events does for you (as mentioned before, LE in essence is just a date field), but you could create an extension that changes the URL title for you. There used to be addons available that did similar things (Title Master and Title Control), but I'm not sure how well maintained they are. Still, creating your own extension for this specific purpose might be the way to go.

  2. chunkitdesign 31 Dec 2017 18:32

    Thanks Low.
    Do you think you can show me how to generate a URL like this:

    event/2015/9/7/prayer-meeting

    thanks

  3. Low 2 Jan 2018 10:03

    That's a rather broad question, but if you're looking to create URLs with dates in them, Low Events prefers the date in a single segment, eg:

    event/2015-09-07/url-title


    ...which you could generate inside a channel:entries tag like so:

    {path='event'}/{LE_FIELD:start_date}/{url_title}


    ...where LE_FIELD is your Low Events field name.