[Rt-devel] post-processing tickets on display
taco at mval.net
Fri Dec 16 08:42:23 EST 2005
Thanks! It's exactly what I'm looking for.
On Thu, December 15, 2005 23:54, Rolf Grossmann wrote:
> I think there's a solution to what you're trying to do:
> Bye, Rolf.
> Taco Witte wrote:
>> Hi RT developers,
>> Using RT 3.4.1 I'm trying to implement a post-processing for tickets'
>> contents. My goal is that e.g. IP addresses occurring in tickets are
>> replaced by links to another system, but only when displaying the ticket
>> on the web (the text in e-mail etc. should remain like it is). This
>> improves workflow because the users don't have to copy-paste anymore.
>> Currently, I'm halfway. I've changed
>> to prepend and append IP addresses with a magic code (allowing me to see
>> the difference between them occurring in tickets and in other parts of
>> website), and I've changed lib/RT/Interface/Web.pm to replace IP
>> in magic codes to links. This works, but it puts links where they
>> shouldn't be (like when commenting on a transaction and in messages sent
>> by e-mail).
>> Does anybody have an idea how to do this in a cleaner way? I suppose
>> kind of post-processing could be useful for other people as well. Maybe
>> even exists (although I couldn't find it).
>> Kind regards,
>> Rt-devel mailing list
>> Rt-devel at lists.bestpractical.com
jabber:taco at 12jabber.com msn:taco at mval.net gpg:33A61735 hyves.nl
More information about the Rt-devel