Home › Forums › Calendar Products › Events Calendar PRO › Overwriting templates in 3.0
- This topic has 4 replies, 4 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
July 10, 2013 at 9:33 pm #54442
ellaearth
ParticipantHey,
I read your notes on overwriting but your paths are totally different to mine and I can seem to get it to work.My plugins paths are such (I’m working locally)
\wp-content\plugins\events-calendar-pro\views
\wp-content\plugins\the-events-calendar\viewsI see in 3.0 there should be a tribe-events folder in your theme so I have this path
\wp-content\themes\bpc\tribe-eventsI’ve put the view files in there and made changes but nothing happens. Then I decided to experiment and put it in a views folder within tribe-events but still nothing. Please could you supply me with the correct paths. Thanks.
July 11, 2013 at 1:31 am #54465ivanhi
ParticipantI’ve done as you \wp-content\themes\mytheme\tribe-events and edit single-event.php and it works. I don’t know if has something to do with you local version.
But I’ve tried to edit the list view through list/single-event.php and it doesn’t work.
So almost as same as you
July 11, 2013 at 5:19 am #54478ellaearth
ParticipantHey Ivanhi
I uploaded to a demo site and same issues. I’m currently modifying event pro plugin files as I need to get work done to see changes. But I need to know correct paths for 3.0 so I can copy out the files there. Glad to know I’m not the only one with this issue. Hope we get an answer soon 🙂July 12, 2013 at 2:28 pm #54858Kyle
ParticipantHi ellaerth,
Thank you for your patience!
When putting templates into bpc/tribe-events, you do not need the /views/ folder, you can drop the files in directly. For example, to override wp-content/plugins/the-events-calendar/views/single-event.php, your override path should be wp-content/themes/bpc/tribe-events/single-event.php
You will, however, need any folder that resides within the-events-calendar/views/. For instance, if you wanted to modify wp-content/plugins/the-events-calendar/views/list/content.php , your override path would be wp-content/themes/bpc/tribe-events/list/content.php
I hope this clarifies things a bit for you!
Cheers,
KyleJuly 7, 2015 at 6:27 am #979678Support 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 ‘Overwriting templates in 3.0’ is closed to new replies.
