Forums

[Plugin: Wordpress Advanced Ticket System] single-ticket.php not overriding (4 posts)

  1. mountainash
    Member
    Posted 4 weeks ago #

    I'm using version 1.0.25 and it seems that comments-ticket.php is correctly overriding the default WATS theme when in my own WP Theme dir, but for some reason 'single-ticket.php' if not overriding the default.

    Is this effecting anyone else?

    http://wordpress.org/extend/plugins/wats/

  2. firebird75
    Member
    Posted 4 weeks ago #

    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!

  3. mountainash
    Member
    Posted 4 weeks ago #

    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.

  4. firebird75
    Member
    Posted 4 weeks ago #

    Thanks sir! You have been faster than me!

    I have posted 1.0.26 that fixes both issues.

Reply

You must log in to post.

About this Topic

Tags