[Rt-devel] post-processing tickets on display

Taco Witte taco at mval.net
Fri Dec 16 08:42:23 EST 2005


Thanks! It's exactly what I'm looking for.

Kind regards,

On Thu, December 15, 2005 23:54, Rolf Grossmann wrote:
> I think there's a solution to what you're trying to do:
> http://wiki.bestpractical.com/index.cgi?ClickableLinks
> 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
>> lib/RT/Attachment_Overlay.pm:Content
>> 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
>> the
>> website), and I've changed lib/RT/Interface/Web.pm to replace IP
>> addresses
>> 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
>> this
>> kind of post-processing could be useful for other people as well. Maybe
>> it
>> even exists (although I couldn't find it).
>> Kind regards,
>> Taco
>> _______________________________________________
>> Rt-devel mailing list
>> Rt-devel at lists.bestpractical.com
>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

jabber:taco at 12jabber.com msn:taco at mval.net gpg:33A61735 hyves.nl

More information about the Rt-devel mailing list