Month View event hover not working

Home Forums Calendar Products Events Calendar PRO Month View event hover not working

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #142557
    Lee
    Participant

    When I’m on the month view, the pop-up does not show when I hover over an event.

    I looked in the resources and something weird happens in the tribe-events.min.js?ver=3.5.1

    On line 5 there is this section of code ‘return c?c(a):document.getElementById(a).innerHTML’

    When I hover over the event title it shows this error –
    ‘Cannot read property innerHTML of null’

    I also tried using the tribe-events.js and that didn’t work either.

    Thanks.

    #142670
    Barry
    Member

    Hi – sorry you’re hitting difficulties.

    There is a syntax error in there created by a piece of JS that looks like it belongs to jQuery Lightbox For Native Galleries v3.2.2 … that could be throwing a spanner in the works of anything else that depends on JS.

    With that in mind, could you try deactivating that plugin in the first instance and see if that resolves the problem and if necessary extend this process to run through our complete troubleshooting steps:

    • Ensure your event plugins are up-to-date
    • Deactivate all other plugins
    • Switch to a default, unmodified theme
    • Now test and see if the problem still persists

    Ideally of course we might be able to determine that it’s simply the result of the syntax error in the Lightbox plugin’s script, so trying that first is definitely the way to go.

    Let me know how you get on!

    #142708
    Lee
    Participant

    Deactivated plugins to no avail.

    I did however notice that usually, there are several scripts with these ids being created after the #tribe-events-footer. They are:
    tribe_tmpl_month_mobile_day_header
    tribe_tmpl_month_mobile
    tribe_tmpl_tooltip
    They come right before the #tribe-events-content div

    Can you tell me the file that outputs those scripts?

    #142722
    Lee
    Participant

    HAHAHA (Evil Maniacal Hacker Laugh)!!!

    I found it!!!

    I’m guessing that it was either my fault or the get_template_part(‘month/tooltip’) was moved.

    Anyway, re-added the code and works perfectly!!!

    Thanks so much for your help. Cheers.

    #142725
    Lee
    Participant

    BTW – for future reference for people searching.

    The tooltip code is located in the content.php file in the views/month folder.

    Hope that helps someone else too.

    #142731
    Barry
    Member

    Fantastic, glad you got to the bottom of things (and thanks for the tip for other users, too) 🙂

    Good luck with everything else and I’ll close this thread out, but of course please don’t hesitate to open new threads as needed if we can help with anything else.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Month View event hover not working’ is closed to new replies.