Tooltip displaying wrong event info

Home Forums Calendar Products Events Calendar PRO Tooltip displaying wrong event info

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1610153
    Ted
    Participant

    I 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.

    #1612410
    Sky
    Keymaster

    Hi 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,
    Sky

    #1613351
    Ted
    Participant

    I 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.

    #1614109
    Sky
    Keymaster

    Hi 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,
    Sky

    #1614425
    Ted
    Participant

    I 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.

    #1615126
    Sky
    Keymaster

    Hi 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,
    Sky

    #1615140
    Ted
    Participant

    Thank you for your help! I appreciate it. The code is here:

    https://gist.github.com/arcweb73/f6e7de86d13949d780504e4b4a30d552

    #1615294
    Sky
    Keymaster

    Hi 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,
    Sky

    #1617931
    Ted
    Participant

    I 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?

    #1618447
    Sky
    Keymaster

    Hi 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,
    Sky

    #1636410
    Support Droid
    Keymaster

    Hey 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

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Tooltip displaying wrong event info’ is closed to new replies.