The script change worked. Thanks so much!<br><br>
<div class="gmail_quote">On Fri, Aug 21, 2009 at 4:14 PM, Stephen Turner <span dir="ltr"><<a href="mailto:sturner@mit.edu">sturner@mit.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="h5">On Fri, 21 Aug 2009 15:37:50 -0400, testwreq wreq <<a href="mailto:testwreq@gmail.com" target="_blank">testwreq@gmail.com</a>> wrote:<br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">RT guru's: when an ownership changes or when the ticket has no comment, the ticket content produces a message<br>
<br>"This transaction appears to have no content"<br><br>We would like to change this default message to "This transaction has been updated. Please see above the changes"<br><br>Any suggestion on how I can accomplish this?<br>
<br>Thanks in advance, rq.<br></blockquote><br></div></div>That message is coming from code in a template, something like this:<br><br>{$Transaction->Content()}<br><br>So you could modify the template code to read:<br>
<br>{<br>my $out = "";<br>if ($Transaction->Content() eq 'This transaction appears to have no content') {<br> $out = 'This transaction has been updated. Please see above the changes'<br>} else {<br>
$out = $Transaction->Content();<br>}<br>$out;<br>}<br><br>or more simply<br><br>{$Transaction->Content() eq 'This transaction appears to have no content' ?<br> 'This transaction has been updated. Please see above the changes' :<br>
$Transaction->Content();<br>}<br><br>Haven't tested the code so there may be typos, but the general idea should work.<br><br>Steve<br><font color="#888888"><br>-- <br>Stephen Turner<br>Senior Programmer/Analyst - SAIS<br>
MIT IS&T<br></font></blockquote></div><br>