Month links on calendar widget don't work

WordPress Event Management, Calendars & Registration Forums Report A Bug Month links on calendar widget don't work

This topic contains 3 replies, has 2 voices, and was last updated by  Stephen Harris 11 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7570

    Hi,
    I’ve got the calendar widget loaded on this page:

    http://sandbox.intrepidrealist.com/selva-armonia/events/event/fly-with-love-with-rachel-brathen/

    When I click on either month at the bottom I get a 404. Not sure why this is happening

    Thanks,
    A~

    Alicia St Rose
    #7581

    Hi Alicia,

    The calendar is updated by ajax, which means the page shouldn’t reload. However, it is reloading because of a javascript error on your page preventing the calendar’s javascript from running.

    The error is in the following:

      // Vimeo API nonsense
      var player = document.getElementById('player_1');
      $f(player).addEvent('ready', ready);

    The error is: $f is not defined

    I think that’s being printed (perhaps by a plug-in?) in the <head> of the document (perhaps by hooking onto wp_head. From the comments I think its related to a slider you have on your home page. Whatever is responsible for the slider is trying to execute the javascript on a page on which the slider doesn’t exist – and hence the error.

    If there’s anything else I can do to help, I’d be happy to!

    Stephen Harris
    #7593

    I conditionally added the scripts per page and the calendar works!

    Thanks!

    Alicia St Rose
    #7597

    Awesome, glad that’s working for you now 🙂

    Stephen Harris
Viewing 4 posts - 1 through 4 (of 4 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.