[rt-users] HTML for ticket body.
Kevin Falcone
falcone at bestpractical.com
Tue Jun 22 23:08:18 EDT 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100622/583cc5fa/attachment.sig>
More information about the rt-users
mailing list