AJAX in Calendar View Not Working

Home Forums Calendar Products Events Calendar PRO AJAX in Calendar View Not Working

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #97634
    Cliff
    Participant

    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.

    #97653
    Casey
    Participant

    Cliff,
    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-

    #97655
    Cliff
    Participant

    I didn’t explicitly mention: I know it’s a theme issue because I switched to a default theme and it worked.

    #97658
    Casey
    Participant

    Cliff,
    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-

    #97683
    Cliff
    Participant

    That’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.

    #97685
    Cliff
    Participant

    Anyway, back to my original question, because I figured this would happen: can I disable AJAX in that view (or all)?

    #98158
    Casey
    Participant

    Cliff,
    I’ve followed up with you via email, so we can continue troubleshooting there. Thanks!

    -Casey-

    #98196
    Casey
    Participant

    Cliff,
    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/8689212

    Since 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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘AJAX in Calendar View Not Working’ is closed to new replies.