Posted: September 29, 2017 at 2:22 am
|
All our events do incorporate a multiple set amount of dates. This works fine so far, however when it comes to displaying it with the Events Calendar Add-on the calendar breaks, because it sees one event starting like 01.01.2017 until 31.12.2017. What do you suggest to solve this problem? I totally need that event calendar. |
Hi there, The Calendar see’s that as one long event, because as far as the event dates are concerned it is one long event. For the calendar to display those events as single individual events on each Friday you would need to break the events out into individual events, or individual datetimes within the event. |
|
|
Hi Tony, yes, absolutely right what you described. However, entering every single event date is just not feasible. We have more than 100 events with each having multiple weekly event dates. That results to a couple of hundred event dates for only one event. Since there is no recurring events functionality in EE4 we used the workarround by using one event date with the first date and the last date for the whole event. But that, as already mentioned, breaks the calendar display since, as you mentioned correctly, it sees it as ONE BIG date instead of many multiple. My question now is, how can we fix the issue? |
I understand that you want to somehow fix one long event to display as multiple events, but the problem is, it’s just not the simple. You can hook into the query the calendar uses to get the events, but how are you going to tell the calendar to display the events on every Friday? That’s the job of the events themselves, so pulling 1 event and trying to tell the calendar, that that event is not really 1 event, but X amount (lets say 52 for 1 on each Firday for a year) isn’t going to be easy. The workaround you are using is not a workable workaround with the calendar. EE4 not supporting REM basically means it can’t batch create events for you, replacing that with 1 long event isn’t really a workaround but shortcut and it’s the shortcut that’s limiting what you can do π The workaround to EE4 not supporting REM is to manually create the batches of events, maybe including them within their own category to ‘group’ them. If you’d like to take a look at the how the calendar pulls the events and try to manipulate that to work how you are wanting, take a look within
However I’m not sure how you are going to tell the calendar to repeat the event. |
|
|
Hi Tony, I developed my own little fix by adding a custom meta box to the Venue, added a calendar, read all datetimes and recalculated them to single events and displayed them in the calendar. Actually pretty neat π How do I apply to become one of your event espresso pros (https://eventespresso.com/developers/event-espresso-pros/)? Are there any special requirements to sell add-ons for EE in your third party add-on store? |
You can apply to get listed in the pro directory here: https://eventespresso.com/developers/event-espresso-pros-application/ There isn’t actually a third party add-on store on ee.com, but there is a directory that lists third party add-ons. If you want to apply to have your add-on included in the directory here’s a link to the form: |
|
That is a pretty neat solution, nice job π I obviously haven’t seen the code but looks like it is working well for you. |
|
|
Thanks guys, issue solved long ago. Just forget to set it to resolved. π |
The support post ‘Event Dates for Events Calendar Add-on’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.