Mini Calendar error outside WordPress

Home Forums Calendar Products Events Calendar PRO Mini Calendar error outside WordPress

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1049963
    Stefhan
    Participant

    Hi,

    I have a glitch with the Mini Calendar widget in Events Calendar Pro, I’m hoping someone can help with. The site I’m working on has a front page which sits outside WordPress, although it does query the database. I’ve put the Events Calendar Pro Mini Calendar widget on that page, and while it works pretty well, it won’t scroll to the next or previous months.

    Everything else looks fine apart from that one issue.

    When I load the page in Firefox with Firebug running (in Console > Errors view), I get the following error:

    TypeError: $widget_wrapper.on is not a function

    $widget_wrapper

    The widget works fine within WordPress. It seems like there’s just one file not loading which causes it to fail, but I can’t figure out which!

    Any help would be much appreciated!

    #1050875
    Brook
    Participant

    Howdy Stefhan,

    I would love to help you with this. I bet that this could be fixed by adding a call to wp_head() in the <head> of your document. Perhaps you will need to call wp_footer() before the closing </body> tag. Does that make the widget start working?

    Cheers!

    – Brook

    #1055039
    Stefhan
    Participant

    Thanks Brook. I’ve checked that but it still doesn’t work unfortuantely. It seems to be missing some vital component.

    Any more suggestions would be most welcome!

    Thanks

    #1055471
    Brook
    Participant

    You’re welcome!

    In that case my suspicions have shifted back to what the error message says – that one of the HTML wrappers is missing and so our script doesn’t know what to target. Typically .tribe-mini-calendar-wrapper is wrapped in a parent div. Is yours?

    If it is wrapped, can you share the code that powers this page? Also a link to the page would be helpful if you have a live one. I can then compare that with the wrappers the widget normally has and see if I can find the missing one.

    Cheers!

    – Brook

    #1055781
    Stefhan
    Participant

    Thanks Brook. Much appreciated.

    I’m working on a test version of the page here:

    http://artsalivewales.org.uk/index-2015-3.php

    And comparing it to a page within WordPress where the calendar’s working fine:

    http://artsalivewales.org.uk/wp/events/category/classes/

    Will add the code for the first page (the faulty one) in a separate message.

    Thanks again!

    #1055782
    Stefhan
    Participant

    This reply is private.

    #1057925
    Brook
    Participant

    Thanks for sharing the link! You are running jQuery 1.2.6. Our plugin is built to be compatible with the latest jQuerys. If you can just upgrade jQuery the issue should go away. 🙂

    Does that work?

    Cheers!

    – Brook

    #1076868
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Mini Calendar error outside WordPress’ is closed to new replies.