[rt-users] Editing /opt/rt4/share/html/Ticket/Elements/ShowTransactionAttachments to show HTML in display ticket body breaks RT interface.

Luong Bui Duc luong.d.bui at gmail.com
Tue Apr 10 23:17:50 EDT 2012


Hi,

I'm trying to set RT so it shows the HTML tables/hyperlinks directly in
Display ticket page. My RT_SiteConfig.pm includes PreferRichText &
TrustHTMLAttachments 1, but that only seems to work when user downloads
ticket as attachment. I edited some code in this file:

/opt/rt4/share/html/Ticket/Elements/ShowTransactionAttachments

uncommented these 2 lines:

Line 209: #$content = $m->comp( '/Elements/ScrubHTML', Content => $content
);
Line 230: #$content = $m->comp( '/Elements/ScrubHTML', Content => $content
);

This seems to do the trick, but interface of RT has changed too, now
buttons are underlined and labels are in blue color as hyperlinks.

Please let me know what is the proper way to achieve this without breaking
RT?

-- 
Thanks a lot,

~L
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120411/7bccaec2/attachment.htm>


More information about the rt-users mailing list