Support » Plugins » [Plugin: WordPress Advanced Ticket System] single-ticket.php not overriding

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello Mountainash,

    Thanks for using WATS. single-ticket.php is used only to display ticket. It won’t be used for posts which keep their default single.php template. Having said that, have you noticed a change between 1.0.25 and previous releases on that front? I wouldn’t expect any as I haven’t touched this area of the code for few releases but you never know…

    You can contact me through my site contact form and give me your site URL if you want so that I can look further at the issue.

    Thanks!

    Thread Starter mountainash

    (@mountainash)

    I’ve found the issue.

    Line 296 of wats-template.php is missing a slash.

    Instead of

    if (file_exists(TEMPLATEPATH.'single-ticket.php'))

    it should be

    if (file_exists(TEMPLATEPATH.'/single-ticket.php'))

    Also of note is that the default comments-tickets.php has a lot of French that should be in the .po and replaced with English.

    Thanks sir! You have been faster than me!

    I have posted 1.0.26 that fixes both issues.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress Advanced Ticket System] single-ticket.php not overriding’ is closed to new replies.