Home › Forums › Calendar Products › Events Calendar PRO › Displaying Recurrence Rules for Custom Events
- This topic has 3 replies, 2 voices, and was last updated 10 years, 5 months ago by
Nico.
-
AuthorPosts
-
October 23, 2015 at 10:55 am #1017382
Brent Kozlowski
ParticipantHello,
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
October 26, 2015 at 9:18 am #1017951Nico
MemberHi 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,
NicoOctober 26, 2015 at 9:30 am #1017968Brent Kozlowski
ParticipantHi Nico,
It appears that my post got published twice. Please see this thread for more details:
Thanks!
October 26, 2015 at 9:34 am #1017971Nico
MemberOh! Thanks for letting me know… I’ll go ahead and close this one out.
Best,
Nico -
This topic was modified 10 years, 5 months ago by
-
AuthorPosts
- The topic ‘Displaying Recurrence Rules for Custom Events’ is closed to new replies.
