Home › Forums › Calendar Products › Events Calendar PRO › Map View Tooltip Customization
- This topic has 4 replies, 2 voices, and was last updated 6 years, 11 months ago by Jessica Messervey.
-
AuthorPosts
-
May 10, 2017 at 1:05 pm #1281952Jessica MesserveyParticipant
Perhaps someone can help me because I have searched the internet extensively for an answer, but all of the threads and websites I have visited do not offer much insight or direction.
I am trying to alter the data that is shown within the Map View’s tooltip so that the the information shown is more relevant to the event (ie. Venue name, full venue address, event date, and event time). Rather than “Event: Event Name, Address: Street Address”.
I know that the infobox content is generated in tribe_events_ajax_maps.js, and that there is a
tribe_events_ajax_response
filter that is apparently supposed to help you customize the map view.. However there’s no useful documentation or examples anywhere on the web regarding that filter — just “You can probably use thetribe_events_ajax_response
filter”.I know customizations of this sort are not officially supported, but I don’t believe what I am trying to do is completely “out of the box” or so complex that someone is unable to offer assistance.
Any assistance would be greatly appreciated.
Thank you!
May 11, 2017 at 2:11 pm #1282575CliffMemberHi, Jessica.
Here’s a code snippet that I thought would work (assuming it would automatically render content in that array) but it doesn’t:
https://gist.github.com/cliffordp/0a7381fb1dfadd8e68644ce40ba9cc50
I’ve asked another team member to look over it, and I’ll let you know what we find out.
May 11, 2017 at 6:55 pm #1282691CliffMemberI updated the gist code so please look at my last reply anew, and please let me know how this goes for you and if you have any follow-up questions/requests.
June 2, 2017 at 9:35 am #1292462Support DroidKeymasterHey 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 ‘Map View Tooltip Customization’ is closed to new replies.