Home › Forums › Ticket Products › Event Tickets Plus › Override of template does not work
- This topic has 4 replies, 3 voices, and was last updated 10 years, 2 months ago by
Support Droid.
-
AuthorPosts
-
January 16, 2016 at 3:52 am #1056931
tigertoertchen
Participant“Override this template in your own theme by creating a file at [your-theme]/tribe-events/list/single-event.php” does not work. The own template will be ignored. Only changes in the main template are shown.
January 18, 2016 at 7:26 am #1057854Barry
MemberHi @tigertoertchen,
Thanks for posting!
It seems to work for me (and I’m not aware of others reporting difficulties with this). Is it possible you added the theme override in the wrong location?
Can you also give me an idea of what things you changed within your theme override and provide a link (by private reply if you prefer) where I can see your list view?
January 18, 2016 at 11:43 pm #1058320tigertoertchen
ParticipantHello,
I deleted the “Venue” Part in the single-event display (all my classes are in the same venue) and I added the number of available tickets, so that the customer is able to see how many seats we have left for our classes.You can check the list here: http://www.backkurs-berlin.de/kurse/kategorie/frei
This is the list of free events. I had to add a category called “frei” (free) to the event – cause there was no possibility in the widget or list view to filter only the events which have tickets left. Maybe a topic which you can add to further releases.
To adapt this list I changed the single-event.php and placed it in [your-theme]/tribe-events/list/single-event.php. But nothing happened. After I change the “real” single-event.php in the plugin folder, the new display worked.
Best regards
OliverJanuary 19, 2016 at 7:13 am #1058661Barry
MemberHi Oliver,
Did you remove that override? It definitely looks like you have an override at:
[your-theme]/tribe-events/single-event.php
But it seems there isn’t one here:
[your-theme]/tribe-events/list/single-event.php
Is that because you removed it after you found it wasn’t working and can you restore it if so (and share a copy of your modified code via Gist/Pastebin)?
February 18, 2016 at 8:34 am #1076910Support 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 ‘Override of template does not work’ is closed to new replies.
