Help Desk Software & Beyond
May 21, 2012, 11:24:37 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]
  Print  
Author Topic: [MOD] 'Internal Checkbox' (TTX v 2.24 and down)  (Read 1472 times)
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« on: September 18, 2007, 11:00:51 PM »

Every time an operator uses the Internal Checkbox on the ticket page, it stays checked even after submitting data to the ticket.

I've found this not quite what I need as I usually want to post a regular message right after posting an internal message.

This very simple modification will give you an unchecked Internal checkbox right after using it.



In your TTXTicket.pm module, in the ticket sub-section...

Find this and remove the part in red.  (Make sure to leave at least ONE SPACE between the quotes or the HTML will not work.)

Quote
if ($query->param('internal')) {
      $data->{NEWSTATUS} .= '  checked';
}

This modification will work in any version of TTX where the code above appears.
« Last Edit: January 31, 2008, 12:27:47 AM by sparky672 » 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]
  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.