Home › Forums › Calendar Products › Events Calendar PRO › Javascript date filtering not working with shortcode
- This topic has 10 replies, 3 voices, and was last updated 8 years, 2 months ago by
Vincent DiGioia.
-
AuthorPosts
-
October 25, 2017 at 1:04 pm #1368866
Vincent DiGioia
ParticipantHi there,
I’m trying to use Javascript to control the date filtering on my calendar (to avoid some bugs with “view as” filters mentioned below). I have the javascript filtering option checked on the main settings page, and it seems to work fine when visiting the calendar at its default slug, but it doesn’t seem to work when using a shortcode to display our calendar on a separate page.
The bugs: When using the [tribe_events view=”list”] shortcode – If you change the view to “Month” after having already selected a date in the previous List view, the calendar reverts back to only showing the current month’s events/dates, even though the title and date selector will reflect the month previously selected. I will include links in a follow-up private post.
Is there a way to either fix the javascript date filtering option, or fix the bug with switching views? Thanks
October 25, 2017 at 1:13 pm #1368874Vincent DiGioia
ParticipantThis reply is private.
October 26, 2017 at 9:00 pm #1369793Victor
MemberHi Vincent!
Thanks for taking your time to report this.
Unfortunately, we are aware of this issue. The good news is that a fix for it has already been placed and is scheduled to be released in our next maintenance release next week.
I will set this thread’s status to “Pending fix” and link it to the bug report, which means we’ll notify you know once the fix is released.
Regarding the date filter not working, after making some tests I could reproduce the same issue in my own local installation. It seems the ajax does work using the shortcode, but the live update is not working, meaning that you have to manually click the Find Events button to apply the date filter.
I will log a report for this issue as well so it can be addressed in one of our next maintenance releases. We will also notify you about the fix being released in this thread.
My apologies for the inconveniences. We’d appreciate your patience while we work on this.
Thanks,
VictorOctober 27, 2017 at 7:53 am #1370066Vincent DiGioia
ParticipantThanks Victor, I’ll keep an eye out for the next maintenance release
October 27, 2017 at 8:36 am #1370106Victor
MemberThanks Vincent! We’ll keep you posted.
November 3, 2017 at 2:44 pm #1375012Victor
MemberHi Vincent!
Just wanted to share with you that a new maintenance release (for the Week of 1st November 2017) is out, including a fix for this issue 🙂
Find out more about this release → https://theeventscalendar.com/maintenance-release-for-the-week-of-1-november-2017/
Please update the plugins and let us know if the fix works for your site.
Best,
VictorNovember 6, 2017 at 8:19 am #1376177Vincent DiGioia
ParticipantThanks for the update! This seems to fix the issue. I’ll keep an eye out for the live update fix in a future release!
November 7, 2017 at 3:59 am #1376766Victor
MemberHi Vincent!
Glad to know it works for you! Thanks for letting me know about it.
Regarding the live update fix, we’ll let you know in here as well when a fix is released.
Best,
VictorJanuary 26, 2018 at 1:05 pm #1437500Nico
MemberHey,
Happy to share with you that a new maintenance release (for the Week of 22th January 2018) is out, including a fix for this issue.
Find out more about this release → https://theeventscalendar.com/maintenance-release-for-the-week-of-22-january-2018/
Please update the plugins and let us know if the fix works for your site,
Best,
NicoFebruary 17, 2018 at 8:35 am #1456408Support Droid
KeymasterHey 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 ‘Javascript date filtering not working with shortcode’ is closed to new replies.
