Home › Forums › Calendar Products › Events Calendar PRO › AJAX in Calendar View Not Working
- This topic has 7 replies, 2 voices, and was last updated 10 years, 2 months ago by Casey.
-
AuthorPosts
-
January 28, 2014 at 5:44 am #97634CliffParticipant
As of 3.4, any changes made via AJAX in the calendar view (like changing months, or choosing a new date for ‘Events In’) no longer work. The spinner loads and goes away, but the data doesn’t actually change.
No changes were made on our end. Unfortunately, it appears to be conflicting with the existing theme—though I see no JS errors in the console, nor anything else helpful I can see. I would love help debugging, but I understand if not: http://mtbethel.org/events/
Either way, is it possible to disable AJAX on this view and have it simply load the updated URL? For instance, the URL’s that pass the date (http://mtbethel.org/events/2014-03/3) work just fine. I’m trying to find a decent solution for my client since debugging the issue may take a while.
January 28, 2014 at 6:24 am #97653CaseyParticipantCliff,
Hopefully I can help you out here. Can you try switching over to the default 2013 theme to see if this issue is still occurring? If the issue is still occurring, then could you try deactivating all other plugins to check for a plugin conflict? These two steps should help us identify if the issue lies in your theme or in another conflicting plugin.Give that a try and let me know what you discover. Thanks!
-Casey-
January 28, 2014 at 6:25 am #97655CliffParticipantI didn’t explicitly mention: I know it’s a theme issue because I switched to a default theme and it worked.
January 28, 2014 at 6:36 am #97658CaseyParticipantCliff,
Since you’ve confirmed that this is indeed a theme issue, then I would reach out to the theme developer to see if they can provide support. We unfortunately can’t provide support for every third party theme out there, since we have a limited support staff.There is one thing I’d like for you to try before going that route. Could you try disabling script debugging in your wp-config.php file?
- Go into your hosting control panel and find the wp-config.php file in the root of your WordPress installation
- Look for a line of code that looks like this:
define( 'SCRIPT_DEBUG', true );
and change the value to false - Save the file
Try those steps and see if it results in any difference. Thanks!
-Casey-
January 28, 2014 at 6:41 am #97683CliffParticipantThat’s why I qualified my help for debugging in the original thread. 🙂
The theme developer won’t be helpful. I’ve already switched of script debugging, and it didn’t seem to change anything.
January 28, 2014 at 6:42 am #97685CliffParticipantAnyway, back to my original question, because I figured this would happen: can I disable AJAX in that view (or all)?
January 29, 2014 at 5:17 am #98158CaseyParticipantCliff,
I’ve followed up with you via email, so we can continue troubleshooting there. Thanks!-Casey-
January 29, 2014 at 6:33 am #98196CaseyParticipantCliff,
Thanks for confirming via email that you’re all set here. Just to recap, we were able to disable the ajax paging on the Month view by adding the following code to your theme’s functions.php file: https://gist.github.com/ckpicker/8689212Since you’re all good, I’m going to mark this thread “Answered” and close it out.
By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://wordpress.org/support/view/plugin-reviews/the-events-calendar?filter=5
Thanks in advance. 🙂
Cheers,
Casey -
AuthorPosts
- The topic ‘AJAX in Calendar View Not Working’ is closed to new replies.