• Resolved j.cope

    (@jcope-1)


    The symptom is the Back/Next buttons on a Grid Calendar are no longer working (neither is hover). I have traced the problem down to the gce-script.js not being loaded on the page. Why? I don’t know!

    I’ve searched for this issue in prior forums, and while others have talked about the Back/Next buttons not working, I don’t believe my issue is the same.

    Some other information that might be useful:
    1) I’ve viewed the site in developer mode, and notice none of the scripts in the enqueue_public_scripts() are being loaded.
    2) The permissions on the wp-amin folder are as follows:
    drwxrwsr-x 9 apache apache 4096 Aug 14 12:48 wp-admin
    3) I have not modified any of the plugin code
    4) I am running the stylesheet-per-page plugin to add custom css to the calendar- I have verified (by deactivating) that this plugin is not the issue.

    Thank you for any and all help in investigating this issue!

    https://wordpress.org/plugins/google-calendar-events/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Nick Young

    (@nickyoung87)

    Can you link to your site? It could be a number of other things too. A big one to look out for is that the plugin needs jQuery 1.6+ and a lot of plugins/themes overwrite this so that could be a problem.

    Does it work on a default theme with no other plugins?

    Thread Starter j.cope

    (@jcope-1)

    Hi Nick,

    Thank you so much for your response! Here is my site in question:
    http://www.temple-sinai.com/calendar/

    I’ve inspected the page and it looks like it is loading jQuery v1.11.1 (If I checked that right!). So that appears to be my smoking gun.

    I’m not able to check to see if everything works fine on a default theme with no plugins (well, not easily), but it appears that one of the plugins I am using is loading an older version. I will continue to dig around and identify the culprit and let you know what I find.

    Thanks again!

    Plugin Contributor Nick Young

    (@nickyoung87)

    I’ve inspected the page and it looks like it is loading jQuery v1.11.1 (If I checked that right!). So that appears to be my smoking gun.

    Ah alright, that’s probably the issue then. Let me know what you can find out and I will continue to help any way I can.

    Thanks for the update!

    Plugin Contributor Nick Young

    (@nickyoung87)

    Assuming resolved now since there hasn’t been a reply and it looks like the jQuery was probably the issue.

    Let me know if you have any more issues.

    Thanks!

    Thread Starter j.cope

    (@jcope-1)

    Hi Nick-

    Unfortunately, things are still not working properly. I still suspect jQuery, but at this point, I’ve tried so many things, it’s tough to say if that is really the problem anymore (if I haven’t made it worse!)

    I found a plugin called ‘jquery-updater’ to ensure I had the latest version. When I visit my site (http://www.temple-sinai.com/calendar/) and pull up my browser developer tools, it now says it has loaded ‘jQuery v2.1.3’, but also ‘jQuery-Migrate v1.2.1.’ (My knowledge of jQuery and the various scripts it loads is limited).

    A few things I have noticed:
    1) Back/Next buttons do not work (nothing happens when clicked)
    2) Hovering over an event does nothing as well

    This leads me to believe that there is a fundamental integration issue. As I type this, I am now suspecting that this ‘jQuery-updater’ plugin I used, might be running after the Google Calendar Events plugin, therefore loading the jQuery too late (even if it is the right version). I am going to continue to play around, but if you have any other suggestions as to what to look for/do- any help is much appreciated!

    Thanks,

    Jeremy

    Plugin Contributor Nick Young

    (@nickyoung87)

    I strongly suggest that you try disabling all your other plugins and switching to a default theme to see if it works correctly if you can.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Scripts not loading- Back/Next not working’ is closed to new replies.