hover balloons in calendar view, turn off?

Home Forums Calendar Products Events Calendar PRO hover balloons in calendar view, turn off?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #16548
    Lynn
    Participant

    Can I just turn off the hover balloons in the calendar view entirely?
    Thanks

    #16601
    Rob
    Member

    Hey Lynn. Should be doable and I thought there was a past thread on this topic, but I’m unable to find it. As such let me get Jonah to comment directly when he hits the forums this afternoon.

    #16646
    Jonah
    Participant

    Hi Lynn,

    Yep you can do this and it’s not too bad of a modification but will involve diving into some code 🙂

    First fire up your functions.php file and paste in the following: https://gist.github.com/2026611

    Those two actions will first remove the default events.js file and then register a new custom events.js that we’re about to create.

    Next, find /wp-content/plugins/the-events-calendar/resources/events.js and place a copy of it in an ‘events’ folder in your theme.

    Finally, you’ll want to comment or remove out lines 8-26. Probably easiest just to remove those lines since you can always reference the original core file as a backup.

    Also, if you want to remove the popups for the mini sidebar calendar just remove lines 28-46 in events.js and that will do it.

    One thing to note with this approach is that as there are changes to the scripting in the plugin, there may be things that will end up not working in the future. Because you are deregistering the events.js file the plugin supplies and if there are changes to this necessary for functionality, you won’t get those unless you know where to look 😉

    I hope that helps and let me know if you have any questions.

    #16749
    Lynn
    Participant

    Thanks, Jonah,
    That worked (for thesis adding the CODE from that link into my custom_functions.php file). I know the choices could be infinite and you can’t do it all, but hopefully by the next update, we’ll have a way to enable or disable the balloons. (My client thought that the balloons held all the information on an event, and didn’t know to click on the event name to get the whole description and photos. They cater to an older crowd, so the fancier things get, the more their visitors get confused.) Thanks.

    #16763
    Rob
    Member

    Thanks for the suggestion, Lynn. That is an interesting one that actually hasn’t come up much yet. Any chance you’d be willing to throw a vote for it into the Feature Requests thread (https://theeventscalendar.com/support/forums/topic/events-calendar-pro-feature-requests/)? We’re using that to gauge demand and thus plan future releases, so your voice would certainly carry some weight if you mentioned it there.

    Meanwhile, let us know if any other issues along these lines arise down the road!

    #976336
    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 6 posts - 1 through 6 (of 6 total)
  • The topic ‘hover balloons in calendar view, turn off?’ is closed to new replies.