Ask not what osTicket community can do for you - ask what you can do for osTicket community

Go Back   osTicket Forums > osTicket 1.6.x > General Discussions

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-02-2012, 01:19 PM
catano catano is offline
Junior Member
 
Join Date: Jan 2012
Posts: 2
Default preselect department signature?

hello is it possible that
Append Signature: Department

is preselected on answering a ticket?
Reply With Quote
  #2  
Old 02-10-2012, 10:29 AM
CoastalData CoastalData is offline
Junior Member
 
Join Date: Jan 2012
Posts: 5
Default

I'd like this, too!
Reply With Quote
  #3  
Old 02-29-2012, 10:21 AM
ksalisbury ksalisbury is offline
Junior Member
 
Join Date: Feb 2012
Location: RI
Posts: 8
Default

I'd be interested in this one too
Reply With Quote
  #4  
Old 02-29-2012, 12:07 PM
ksalisbury ksalisbury is offline
Junior Member
 
Join Date: Feb 2012
Location: RI
Posts: 8
Default

Quote:
<tr>
<td>Signature:</td>
<td> <?php
$appendStaffSig=$thisuser->appendMySignature();
$info['signature']=!$info['signature']?'none':$info['signature']; //change 'none' to 'mine' to default to staff signature.
?>
<div style="margin-top: 2px;">
<label><input type="radio" name="signature" value="none" checked > None</label>
<?if($appendStaffSig) {?>
<label> <input type="radio" name="signature" value="mine" <?=$info['signature']=='mine'?'checked':''?> > My signature</label>
<?}?>
<label><input type="radio" name="signature" value="dept" <?=$info['signature']=='dept'?'checked':''?> > Dept Signature (if any)</label>
</div>
</td>
</tr>
I'm no programmer, but from what I can glean, it looks like if we were to substituted 'dept' for 'none' in this line:

Quote:
$info['signature']=!$info['signature']?'none':$info['signature']; //change 'none' to 'mine' to default to staff signature.
that should default the signature to the dept signature

Last edited by ksalisbury; 03-14-2012 at 02:49 PM.
Reply With Quote
  #5  
Old 02-29-2012, 12:13 PM
ksalisbury ksalisbury is offline
Junior Member
 
Join Date: Feb 2012
Location: RI
Posts: 8
Default

well, that code is for a new ticket not a reply.

I'll keep looking
Reply With Quote
  #6  
Old 03-14-2012, 02:48 PM
ksalisbury ksalisbury is offline
Junior Member
 
Join Date: Feb 2012
Location: RI
Posts: 8
Default

two files that I changed the signature to default to dept.

include/staff/viewticket.inc.php
and
include/staff/newticket.inc.php

changed none to dept in both files.

Seems to do the trick
Reply With Quote


Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:53 AM.