Home › Forums › Calendar Products › Events Calendar PRO › Tooltip displaying wrong event info
- This topic has 9 replies, 2 voices, and was last updated 7 years, 7 months ago by
Sky.
-
AuthorPosts
-
August 30, 2018 at 2:13 pm #1610153
Ted
ParticipantI have added customizations to the tooltip per the themer’s guide. It’s been working great until a few weeks ago I noticed that the wrong event information is showing up in the tooltip.
So basically, the name for Event A displays on the calendar, but the tooltip shows the event info for Event B. Actually, Event B is the only info that shows up in any tooltip. So every event on the calendar shows Event B in the tooltip.
The plugin is up to date, is there a change I need to make to the custom code?
Thank you for your help.
September 3, 2018 at 11:26 am #1612410Sky
KeymasterHi there,
Thanks for reaching out. I’m sorry to hear that you’re having issues with your site. I will try to help if I can.
If you temporarily remove the customizations that you added, does the problem go away? I’ve seen a few cases of this in the last couple of weeks, and so far it has been related to theme conflicts.
If removing your customizations doesn’t change anything, can you try temporarily switching to the Twenty Seventeen theme and disabling all other plugins to see if that has an effect? If you would like to read more about this troubleshooting process, you can do so here: https://theeventscalendar.com/knowledgebase/testing-for-conflicts/
Let me know how that goes.
Thanks,
SkySeptember 4, 2018 at 10:46 am #1613351Ted
ParticipantI removed the customizations from the site and the tooltips are now showing the correct events.
I just found that there is a theme update for the site also, I will be updating the theme to see if that helps at all.
September 5, 2018 at 7:49 am #1614109Sky
KeymasterHi again,
I checked out the changelog for the tooltip file in the Events Calendar, and that file hasn’t been changed significantly for quite awhile.
Let me know how it goes with the theme update.
Thanks,
SkySeptember 5, 2018 at 11:03 am #1614425Ted
ParticipantI have updated the theme and copied the custom files back to the server one by one.
I’m still getting the same error. The problem seems to be in the file: /my-child-theme/tribe-events/month/single-event.php
When I copy that file in, the custom tooltip displays, where the image and the text is clickable, but it displays the same event for every event in the calendar. I can’t remember exactly what I changed in that file when I did the customizations.
September 6, 2018 at 7:18 am #1615126Sky
KeymasterHi again,
Can you share your modified single-event.php file with me? I’d be happy to take a quick look and see if anything jumps out at me. You can create a gist at https://gist.github.com/ and share the link here.
Thanks,
SkySeptember 6, 2018 at 7:28 am #1615140Ted
ParticipantThank you for your help! I appreciate it. The code is here:
https://gist.github.com/arcweb73/f6e7de86d13949d780504e4b4a30d552
September 6, 2018 at 9:17 am #1615294Sky
KeymasterHi again,
I took a look. It seems that you have hardcoded part of the tooltip template into the single-event template, but without the JS templating markup.
The tooltip is rendered with javascript from that file, and I think for any modifications to work correctly, you will need to modify the tooltip.php template separately, and retain the templating markup for the values.
Any additional help you need with your customizations here are probably beyond the scope of what I can help with in the support forums. Let me know if you have any specific questions going forward.
Good luck!
Thanks,
SkySeptember 10, 2018 at 1:01 pm #1617931Ted
ParticipantI followed the suggestions in this thread: https://theeventscalendar.com/support/forums/topic/how-to-make-featured-image-in-tooltip-clickable/
and have gotten my tooltip working the way I want it to.
Now I’m having a hard time figuring out how to set up the css so the style goes with our site, like we had previously. I tried making changes in our child-theme css where the changes were made previously, but that isn’t changing anything. I think the classes and divs are named differently, but I’m not able to figure out how to set them up properly.
Can you give me any guidance with this?
September 11, 2018 at 7:30 am #1618447Sky
KeymasterHi again,
As I mentioned, the tooltip file hasn’t been changed in a while, and I don’t think any classes have changed. Perhaps your CSS rules are being overridden? You can try adding !important on the rules to see if that’s the case. Looking at the elements using your browser inspector tools is going to be the best way to see what’s going on.
Unfortunately, that’s about all I can offer for the custom CSS.
Good luck!
Thanks,
SkyOctober 3, 2018 at 9:35 am #1636410Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Tooltip displaying wrong event info’ is closed to new replies.
