Tooltip?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1021754
    Frank Braade
    Participant

    Hello!

    A question about Event Calender Pro, Month View, in a Widget.
    We need to display Event Titles as a tooltip, meaning alt/title tags on mouseover over the link on a date. Is this possible in the widget? If not (yet) – can you point us to the link generating php please?

    WordPress version 4.3.1
    PHP version 5.5.25
    The Events Calendar version 3.12.3
    The Events Calendar PRO version 3.12.5

    Thanks in advance from our site, Polyprisma.de!

    #1021760
    George
    Participant

    Hey @Frank,

    Thanks for reaching out!

    These features are technically possible to implement, but are not supported by default in our plugins and so implementing these features would require writing custom code πŸ™

    While we cannot help much with writing custom code, I’m happy to provide as much general advice here as I can, and can hopefully get you pointed in the right direction so you can take things further and actually implement the code.

    First and foremost would be figuring out what JavaScript tooltip library you would like to use. There are many, many options, though two of the most common are:

    β€’ Bootstrap tooltips β†’ http://getbootstrap.com/javascript/#tooltips
    β€’ jQuery UI tooltips – which are included within WordPress by default! πŸ™‚ – https://jqueryui.com/tooltip/

    You can “enqueue” the necessary for JavaScripts for these libraries with the wp_enqueue_script() function, which you can learn about here β†’ https://codex.wordpress.org/Function_Reference/wp_enqueue_script

    Once you have the necessary JavaScripts loaded, all the actual data for the events and their titles is already loaded on the page in the widget; so with some CSS to make things look like you want, and JavaScript to set up the tooltips, you should be able to pull this off.

    I’m sorry if any of this is too vague – like I mentioned, we can’t actually help with writing custom code and so general advice is the best I can offer here. I hope it helps regardless!

    Sincerely,
    George

    #1021773
    Frank Braade
    Participant

    Hey George,

    thank you very much for reaching out.

    We’ll dig into those and see where the river is taking us to πŸ˜€

    All the best,

    – Frank.

    #1021802
    George
    Participant

    Right on! Thanks for the update Frank πŸ™‚ Best of luck with your site and your customizing.

    Cheers,
    George

    #1075388
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Tooltip?’ is closed to new replies.