Home › Forums › Calendar Products › Events Calendar PRO › tooltip/month view theming assistance
- This topic has 5 replies, 3 voices, and was last updated 9 years, 10 months ago by
Cliff.
-
AuthorPosts
-
July 12, 2016 at 2:40 pm #1138876
Scott Morey
ParticipantHi again,
Trying to add venue information to the month/week view as well as tooltips (ultimately, tooltips are what I’m looking to modify, I will probably use CSS to color the event titles per-location in month/week view).
Looking through the theming guide, as well as numerous forum posts about this very thing leads to some very conflicting information.
Could you please tell me specifically which template files to copy to the tribe-events directory in my theme directory? I’ve tried numerous permutations of …/events-calendar-pro/src/views/pro/week/single-event.php, …/the-events-calendar/src/views/month/single-event.php as well as the tooltip.php from various week/month places in both themes, and put them in …/mytheme/tribe-events/pro/, tribe-events/pro/month, tribe-events/… and none of it is working. I guess it doesn’t help that google searches are bringing up forum posts from 4 years ago. I changed my search to past year and it’s still not giving clear and followable information. I even read the entire events-calendar-pro/src/views/pro/week/single-event.php and it made things no clearer.
I think knowing which files to copy from where to where will give me what I need to progress. Thanks!
July 13, 2016 at 10:43 am #1139263Cliff
MemberHi. Thanks for your detailed question and sorry you’re having difficulties.
Our Themer’s Guide is where to look for the official how-to information.
I’m guessing you’re looking to customize this file: /wp-content/plugins/the-events-calendar/src/views/month/tooltip.php
You’d want to copy that file to [your-child-theme]/tribe-events/month/tooltip.php
Some past forum threads that may help too:
Please let me know how things go for you!
July 13, 2016 at 11:03 am #1139272Scott Morey
ParticipantGreat! Thank you for the response. I did look through the themer’s guide, but it was unclear, having pro, where I was supposed to copy the template from and where to. I’ll do what you say, and fill in the blanks with documentation and other examples and let you know how it goes. Thanks again!
July 13, 2016 at 12:36 pm #1139310Scott Morey
ParticipantCliff–
Thanks again, I got it working exactly the way I wanted. It was just a little unclear that I needed to reproduce the path within the [my-theme]/tribe-events/ directory, and the other post you linked that gave the example of adding the code to functions.php to add venue data to the data-json did the trick.
July 13, 2016 at 3:36 pm #1139389Cliff
MemberAwesome! I’m glad you got things working how you want them.
-
AuthorPosts
- The topic ‘tooltip/month view theming assistance’ is closed to new replies.
