Home › Forums › Calendar Products › Events Calendar PRO › Add click to ‘Find out more’ button in the Tooltip.php
- This topic has 5 replies, 2 voices, and was last updated 9 years, 6 months ago by Geoff.
-
AuthorPosts
-
October 23, 2014 at 9:26 am #829854Adam SoleymaniParticipant
Hi
I was able to Add ‘find out more’ button to the tool tip but it keeps take me the wrong event.
Can you please help?Thanks,
October 24, 2014 at 8:26 am #832547GeoffMemberHi there Adam! Thanks for getting in touch and welcome to the forums. 🙂
The link for any given event can be grabbed with the following:
<a href="[[=permalink]]">Find out more</a>
Add that to your tooltip.php template override and let me know if that helps.
Cheers!
GeoffOctober 24, 2014 at 9:10 am #832648Adam SoleymaniParticipantThank you it works. Also, how do I prevent it from getting removed during an update?
Thanks,
October 24, 2014 at 9:23 am #832670GeoffMemberGood question. The answer is to create an override of the tooltip.php template instead of modifying the core file.
In summary, that means:
- <span style=”line-height: 13px;”>Make a copy of the tooltip.php file</span>
- Create a new directory in your theme folder called tribe-events and another folder inside of that called widgets. Drop the copied file in there.
- Make you changes to the template and save them
Now the template is in your theme and will not be overridden when the plugin updates. 🙂
These steps are more thoroughly detailed in our Themer’s Guide, which I suggest you check out.
Does that make sense? Will that work for you? Please let me know.
Cheers!
GeoffOctober 24, 2014 at 9:28 am #832680Adam SoleymaniParticipantThank You for all the help.
October 24, 2014 at 9:49 am #832728GeoffMemberMy pleasure! I’m so glad this worked out for you. 🙂
I’m going to go ahead and close this thread, but please feel free to hit us up with a new thread if any other questions pop up. We’d be happy to help.
Also, if you have a moment, we’d love it if you rated the plugin and shared your thoughts about it with others on our review page.
Thanks again!
Geoff -
AuthorPosts
- The topic ‘Add click to ‘Find out more’ button in the Tooltip.php’ is closed to new replies.