Help Desk Software & Beyond
May 21, 2012, 10:32:59 PM *
Welcome, Guest. Please login or register.
To post messages you need to register. We apologize for inconvenience, but this is to prevent spam.
Registration is instant (no email verification) and we do not ask for any personal information.

Login with username, password and session length
News: Welcome to Help Desk Software forum!
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: [MOD] Posting tickets via email - stop creating new ticket on closed tickets  (Read 4669 times)
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #15 on: September 24, 2007, 12:07:10 AM »

9/3/09- Verified independently, functioning in TTX version 3.0

The follow modification will disable creating a new ticket when a customer responds to a closed ticket and instead re-opens the ticket.

In TTXTicket.pm, ticket section...

Remove this...

Quote
if ($query->param('do') && $t->{status} eq 'CLS' && !$isoper) {
    $query->param(-name => 'email', -value => $t->{email});
    $query->param(-name => 'name', -value => $t->{name});
    $query->param(-name => 'subject', -value => $t->{subject});
    $query->param(-name => 'problem', -value => TTXDictionary::translate('Posted as a followup to the solved ticket').' #'.$t->{id}.
                                                ".\n\n".$query->param('problem'));
    return 'newticket';
  }

... and replace with this ...

Quote
if ($query->param('do') && $t->{status} eq 'CLS' && !$isoper) {
     $t->{status} = 'WFR';
}
« Last Edit: September 03, 2009, 06:33:10 PM by Sparky » Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.018 seconds with 19 queries.