Re: [rt-users] This transaction appears to have no content
The script change worked. Thanks so much! On Fri, Aug 21, 2009 at 4:14 PM, Stephen Turner stur...@mit.edu wrote: On Fri, 21 Aug 2009 15:37:50 -0400, testwreq wreq testw...@gmail.com wrote: RT guru's: when an ownership changes or when the ticket has no comment, the ticket content produces a message This transaction appears to have no content We would like to change this default message to This transaction has been updated. Please see above the changes Any suggestion on how I can accomplish this? Thanks in advance, rq. That message is coming from code in a template, something like this: {$Transaction-Content()} So you could modify the template code to read: { my $out = ; if ($Transaction-Content() eq 'This transaction appears to have no content') { $out = 'This transaction has been updated. Please see above the changes' } else { $out = $Transaction-Content(); } $out; } or more simply {$Transaction-Content() eq 'This transaction appears to have no content' ? 'This transaction has been updated. Please see above the changes' : $Transaction-Content(); } Haven't tested the code so there may be typos, but the general idea should work. Steve -- Stephen Turner Senior Programmer/Analyst - SAIS MIT IST ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] This transaction appears to have no content
RT guru's: when an ownership changes or when the ticket has no comment, the ticket content produces a message This transaction appears to have no content We would like to change this default message to This transaction has been updated. Please see above the changes Any suggestion on how I can accomplish this? Thanks in advance, rq. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] This transaction appears to have no content
On Fri, 21 Aug 2009 15:37:50 -0400, testwreq wreq testw...@gmail.com said: RT guru's: when an ownership changes or when the ticket has no comment, the ticket content produces a message This transaction appears to have no content We would like to change this default message to This transaction has been updated. Please see above the changes Any suggestion on how I can accomplish this? Search for $content = $self-loc('This transaction appears to have no content'); in /lib/RT/Transaction_Overlay.pm and edit the text to your liking. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] This transaction appears to have no content
Create a template and use that to say whatever you wish. I can give you an example of our owner change template when I have better access to our system. On 8/21/09 3:37 PM, testwreq wreq testw...@gmail.com wrote: RT guru's: when an ownership changes or when the ticket has no comment, the ticket content produces a message This transaction appears to have no content We would like to change this default message to This transaction has been updated. Please see above the changes Any suggestion on how I can accomplish this? Thanks in advance, rq. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -- Drew Barnes Applications Analyst Network Resources Dept. Raymond Walters College ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] This transaction appears to have no content
On Fri, 21 Aug 2009 15:37:50 -0400, testwreq wreq testw...@gmail.com wrote: RT guru's: when an ownership changes or when the ticket has no comment, the ticket content produces a message This transaction appears to have no content We would like to change this default message to This transaction has been updated. Please see above the changes Any suggestion on how I can accomplish this? Thanks in advance, rq. That message is coming from code in a template, something like this: {$Transaction-Content()} So you could modify the template code to read: { my $out = ; if ($Transaction-Content() eq 'This transaction appears to have no content') { $out = 'This transaction has been updated. Please see above the changes' } else { $out = $Transaction-Content(); } $out; } or more simply {$Transaction-Content() eq 'This transaction appears to have no content' ? 'This transaction has been updated. Please see above the changes' : $Transaction-Content(); } Haven't tested the code so there may be typos, but the general idea should work. Steve -- Stephen Turner Senior Programmer/Analyst - SAIS MIT IST ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com