Override of template does not work

Home Forums Ticket Products Event Tickets Plus Override of template does not work

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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.

    #1057854
    Barry
    Member

    Hi @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?

    #1058320
    tigertoertchen
    Participant

    Hello,
    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
    Oliver

    #1058661
    Barry
    Member

    Hi 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)?

    #1076910
    Support Droid
    Keymaster

    This 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.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Override of template does not work’ is closed to new replies.