Home › Forums › Calendar Products › Events Calendar PRO › Tooltip?
- This topic has 4 replies, 3 voices, and was last updated 10 years, 2 months ago by
Support Droid.
-
AuthorPosts
-
November 4, 2015 at 8:58 am #1021754
Frank Braade
ParticipantHello!
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.5Thanks in advance from our site, Polyprisma.de!
November 4, 2015 at 9:08 am #1021760George
ParticipantHey @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,
GeorgeNovember 4, 2015 at 9:36 am #1021773Frank Braade
ParticipantHey 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.
November 4, 2015 at 10:52 am #1021802George
ParticipantRight on! Thanks for the update Frank π Best of luck with your site and your customizing.
Cheers,
GeorgeFebruary 18, 2016 at 8:30 am #1075388Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Tooltip?’ is closed to new replies.
