My bad. Actually my co-worker change something on this file /opt/rt3/share/html/Elements/ScrubHTML It solved my problem :P
2010/6/24 Trần Trọng Tấn <[email protected]> > 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 <[email protected]> > > 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, '[email protected]'); >> Set($CorrespondAddress, '[email protected]'); >> Set($CommentAddress, '[email protected]'); >> >> Set($PreferRichText, 1); >> Set($TrustHTMLAttachments, 1); >> >> Set($RTAddressRegexp, '^([email protected])$'); >> 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 < >> [email protected]> 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: >>> > >>> > - 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 >>> >>> >>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >>> Buy a copy at http://rtbook.bestpractical.com >>> >> >> >
Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
