Displaying Recurrence Rules for Custom Events

Home Forums Calendar Products Events Calendar PRO Displaying Recurrence Rules for Custom Events

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1017382
    Brent Kozlowski
    Participant

    Hello,

    How would I display (output) a custom recurrence rule? It appears there is a function for “tribe_event_is_all_day” & “tribe_event_is_multiday” in ../meta/details.php, but nothing for custom rules? If the conditions are not met it defaults to a single day event.

    I also uncovered a bug… notice the start date. Is this why this event is not meeting the conditions for a multi-day?

    “An event every 1 week(s) on Tuesday that begins at 1970-01-01 06:00 pm and lasts 0 day(s) and 0 hour(s), the last of which will begin on January 19, 2016”

    Example of Desired Output

    Start Date: November 3rd, 2015
    End Date: January 19, 2016
    Meets: Tuesdays @6pm

    • This topic was modified 10 years, 5 months ago by Brent Kozlowski. Reason: unable to attach images
    #1017951
    Nico
    Member

    Hi Tanya,

    Thanks for reaching out to us on this. I’ll help you with this issue!

    First of all let’s break this down into two: The recurrence label and the bug with the start date.

    Recurrence label

    How would I display (output) a custom recurrence rule?

    Where are you trying to output the rule description? Per default it’s displayed in the single event template when you over ‘Recurring Event’: https://cloudup.com/c5TR_HKZFSj

    It appears there is a function for “tribe_event_is_all_day” & “tribe_event_is_multiday” in ../meta/details.php, but nothing for custom rules?

    Not sure what you mean here. Just to clarify, if an event is all day or multiday this doesn’t apply to the series of events but to the event instance itself. So if you have a ‘one day event’ that occurs everyday for a week, this doesn’t turn the events into multiday events.

    Bug with start date

    Can you share a screenshot of the event configuration that lead to that glitch? I would like to try to reproduce this locally and if I can confirm this is a bug then log it in our backlog.

    Thanks,
    Nico

    #1017968
    Brent Kozlowski
    Participant

    Hi Nico,

    It appears that my post got published twice. Please see this thread for more details:

    How to display recurrence rules?

    Thanks!

    #1017971
    Nico
    Member

    Oh! Thanks for letting me know… I’ll go ahead and close this one out.

    Best,
    Nico

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Displaying Recurrence Rules for Custom Events’ is closed to new replies.