Home › Forums › Calendar Products › Events Calendar PRO › Update event list display after event time?
- This topic has 5 replies, 2 voices, and was last updated 6 years, 11 months ago by Stephanie.
-
AuthorPosts
-
April 24, 2017 at 9:33 am #1273489StephanieParticipant
Hello All,
I’ve got a client who would like to have a displayed list of events update as soon as I the end time has passed.How can I do this?
I’m sure some sort of cron run or Ajax script will need to run but are there any settings in Calendar Pro?
Thanks
April 25, 2017 at 6:04 pm #1274419TrishaMemberHello, Stephanie!
Thank you for using The Events Calendar! I can help with this ?
Your assumption about using cron seems like the right way to go, Ajax would keep the page from reloading but it’s the cron that would do the heavy lifting here.
There’s nothing like that built into Events Calendar PRO so you would need to customize that yourself. We have a list of freelancers who we would happily recommend for this level of help if that’s something you need.
As always, if you have any other question feel free to reach out. I’m happy to help!
Cheers,
TrishaApril 27, 2017 at 4:21 am #1275132StephanieParticipantHi Trisha,
Thank you for your help.So event calendar does rely on the end time for determining when an event is expired?
Thanks,
StephanieApril 27, 2017 at 9:42 pm #1275601TrishaMemberHello, Stephanie!
Yes, that’s correct. You can see this partially in this function https://github.com/moderntribe/the-events-calendar/blob/develop/src/Tribe/Template/Month.php#L548
For context, the main query for the month view is right above that on line 461.
Does this help answer your question? Let me know!
Cheers,
TrishaMay 19, 2017 at 9:35 am #1286392Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Update event list display after event time?’ is closed to new replies.