Home › Forums › Calendar Products › Events Calendar PRO › Month View event hover not working
- This topic has 5 replies, 2 voices, and was last updated 12 years ago by
Barry.
-
AuthorPosts
-
April 25, 2014 at 8:05 am #142557
Lee
ParticipantWhen 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.
April 25, 2014 at 9:56 am #142670Barry
MemberHi – 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!
April 25, 2014 at 10:23 am #142708Lee
ParticipantDeactivated 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 divCan you tell me the file that outputs those scripts?
April 25, 2014 at 10:32 am #142722Lee
ParticipantHAHAHA (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.
April 25, 2014 at 10:33 am #142725Lee
ParticipantBTW – 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.
April 25, 2014 at 10:40 am #142731Barry
MemberFantastic, 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.
-
AuthorPosts
- The topic ‘Month View event hover not working’ is closed to new replies.
