HTML for ticket body

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?

TIA.

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:

then you need to clear the mason cache (rm -rf var/mason_data/obj) and
restart your webserver to see your changes.

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:

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

I’m using RT ver 3.8.8 and it’s lastest.
Here my config file:

Set($WebBaseURL , “http://sup.xxxx.net”);
Set($WebPath , “”);
Set($rtname, “noc.xxxx.vn”);
Set($DatabasePassword , “xxxxxx”);

Set($OwnerEmail, “xxxxxxxt”);

Set($MailCommand, ‘smtp’);
Set($SMTPServer, ‘localhost’);
Set($SMTPFrom, ‘xxxxx@xxxxx.net’);
Set($CorrespondAddress, ‘xxxxx@xxxxx.net’);
Set($CommentAddress, ‘xxxxx@xxxxx.net’);

Set($PreferRichText, 1);
Set($TrustHTMLAttachments, 1);

Set($RTAddressRegexp, ‘^(xxxx.*@xxx.net)$’);
Set($HomePageRefreshInterval, 120);
Set($MaxInlineBody, 512000);

Set( @Plugins, qw(RT::Authen::ExternalAuth RT::Extension::ToggleSuperUser
RT::Extension::MergeUsers RT::Extension::ResetPassword));

require
"/opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm";
Set($AutoCreateNonExternalUsers, 1);
1;

I still can’t see any HTML tables on Ticket/Display.html. Did I get wrong
somewhere?On Wed, Jun 23, 2010 at 10:08 AM, Kevin Falcone falcone@bestpractical.comwrote:

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:

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

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Problem solved. I don’t know why but after change
Set($PreferRichText, 1);
to
Set($PreferRichText, true);
then restart apache, HTML just showed up.2010/6/23 Trần Trọng Tấn giobuon@gmail.com

I’m using RT ver 3.8.8 and it’s lastest.
Here my config file:

Set($WebBaseURL , “http://sup.xxxx.net”);
Set($WebPath , “”);
Set($rtname, “noc.xxxx.vn”);
Set($DatabasePassword , “xxxxxx”);

Set($OwnerEmail, “xxxxxxxt”);

Set($MailCommand, ‘smtp’);
Set($SMTPServer, ‘localhost’);
Set($SMTPFrom, ‘xxxxx@xxxxx.net’);
Set($CorrespondAddress, ‘xxxxx@xxxxx.net’);
Set($CommentAddress, ‘xxxxx@xxxxx.net’);

Set($PreferRichText, 1);
Set($TrustHTMLAttachments, 1);

Set($RTAddressRegexp, ‘^(xxxx.*@xxx.net)$’);
Set($HomePageRefreshInterval, 120);
Set($MaxInlineBody, 512000);

Set( @Plugins, qw(RT::Authen::ExternalAuth RT::Extension::ToggleSuperUser
RT::Extension::MergeUsers RT::Extension::ResetPassword));

require
"/opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm";
Set($AutoCreateNonExternalUsers, 1);
1;

I still can’t see any HTML tables on Ticket/Display.html. Did I get wrong
somewhere?

On Wed, Jun 23, 2010 at 10:08 AM, Kevin Falcone <falcone@bestpractical.com wrote:

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:

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

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

My bad.
Actually my co-worker change something on this file
/opt/rt3/share/html/Elements/ScrubHTML
It solved my problem :P2010/6/24 Trần Trọng Tấn giobuon@gmail.com

Problem solved. I don’t know why but after change
Set($PreferRichText, 1);
to
Set($PreferRichText, true);
then restart apache, HTML just showed up.

2010/6/23 Trần Trọng Tấn giobuon@gmail.com

I’m using RT ver 3.8.8 and it’s lastest.

Here my config file:

Set($WebBaseURL , “http://sup.xxxx.net”);
Set($WebPath , “”);
Set($rtname, “noc.xxxx.vn”);
Set($DatabasePassword , “xxxxxx”);

Set($OwnerEmail, “xxxxxxxt”);

Set($MailCommand, ‘smtp’);
Set($SMTPServer, ‘localhost’);
Set($SMTPFrom, ‘xxxxx@xxxxx.net’);
Set($CorrespondAddress, ‘xxxxx@xxxxx.net’);
Set($CommentAddress, ‘xxxxx@xxxxx.net’);

Set($PreferRichText, 1);
Set($TrustHTMLAttachments, 1);

Set($RTAddressRegexp, ‘^(xxxx.*@xxx.net)$’);
Set($HomePageRefreshInterval, 120);
Set($MaxInlineBody, 512000);

Set( @Plugins, qw(RT::Authen::ExternalAuth RT::Extension::ToggleSuperUser
RT::Extension::MergeUsers RT::Extension::ResetPassword));

require
"/opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm";
Set($AutoCreateNonExternalUsers, 1);
1;

I still can’t see any HTML tables on Ticket/Display.html. Did I get wrong
somewhere?

On Wed, Jun 23, 2010 at 10:08 AM, Kevin Falcone < falcone@bestpractical.com> wrote:

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:

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

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com