On Tue, Jun 22, 2010 at 04:43:49PM +0200, Emmanuel Lacour wrote: > On Tue, Jun 22, 2010 at 10:08:01AM +0700, Trần Trọng Tấn wrote: > > I want to display some basic HTML tag (like table) on ticket body on page > > /Ticket/Display.html. Where can I configure to enable it? or mod some code > > to do it? > > > > you have to change the file share/html/Ticket/Display.html. > > but first: > > - see if the place where you wan't to add code correspond to one of the > callbacks defined in this file. If yes, use this callback as described > here: http://wiki.bestpractical.com/view/CustomizingWithCallbacks > - if there is no usefull callback, copy this file to local/html/Ticket/ > and modify it > > then you need to clear the mason cache (rm -rf var/mason_data/obj) and > restart your webserver to see your changes.
Actually, if all you want to do is allow HTML tables sent in email to RT to show up on Ticket/Display.html you can tell RT to do that using $PreferRichText in the config. You need a very recent RT release for the table scrubber restrictions to be relaxes to work with the code excel/word generate. -kevin
pgpbVhTYLFLNx.pgp
Description: PGP signature
Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
