Posted: November 14, 2013 at 2:25 pm
|
Hi, I’m having a strange problem in which my Custom Ticket template and CSS are no longer displaying; they were showing fine yesterday, and I have not modified the files in any way since then. I believe the paths are correct (wp-content/uploads/espresso/tickets/templates/newticket.php and wp-content/uploads/espresso/tickets/templates/css/newticket.css). Instead, it’s displaying /uploads/espresso/tickets/templates/index.php, and /uploads/espresso/tickets/templates/css/simple/index.php. It can’t be my files, because it won’t display the provided red.css file that comes in the same css folder either. |
|
Hi, In your uploads/espresso/tickets/templates folder, is there a copy of the default index.php file? If not it needs to be there otherwise it will ignore the other files. See here – https://eventespresso.com/wiki/how-to-create-a-custom-ticket/#customticket |
|
Hi Dean – everything was in order, so I triple-checked and found that I’d made a stupid error; I was testing with a different event, and that event had NOT been assigned the Custom Ticket type (hence it was falling back to the default). Just wondering: is there a way to preselect the custom ticket type for all events? I just don’t want my client making the same mistake I did, and sending out the wrong ticket type. |
|
Hi Angela, you can use the following code to define a default ticket for the event editor. The third line is where you would put the id of the ticket that you would like to be the default. |
The support post ‘Custom Ticket Template’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.