Support

Home Forums Ticketing Add-on Custom Ticket Template not being used

Custom Ticket Template not being used

Posted: September 25, 2012 at 9:32 am


David Maurer

September 25, 2012 at 9:32 am

I just updated to the latest version this morning (3.1.27.P). I created a new template and uploaded it to the template directory (/wp-content/plugins/espresso-ticketing/templates/) and added a new ticket template in the admin by selecting the new template. However, the template used is always index.php. Any ideas?


Dean

September 26, 2012 at 12:01 am

Hi David,

The best way to use the custom templates is like this:

In the espresso uploads directory create a new directory called tickets.

In that folder create a directory called templates.

From the add on template folder copy the index.php file to the uploads/tickets/templates directory.

You can then add the new templates there and they will show in the dashboard.


David Maurer

September 26, 2012 at 5:02 am

Just curious as to why that would work better than what I described in the original post?


Dean

September 26, 2012 at 5:30 am

Hi,

The reason being, is when the plugin is updated if the template files are not in the uploads folder they will be overwritten, so any modifications should not be done in the core files if it can be helped.

Try it that way and see if it resolves the problem. If not let me know.

The support post ‘Custom Ticket Template not being used’ 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.

Event Espresso