Jesse,
thank you very much for your reply!!
I had not realized that the problem was in the curly braces used in CSS syntax!

On a related note: we are using the "subject tag" in the configuration of 
queues. If I use the plain text templates the $rtname variable is correctly 
resolved to the subject tag of the originating queue, but if I use the html 
templates that variable is resolved to the name globally defined in 
RT_SiteConfig.pm. Can this be corrected?

Thank you!
Bye
Cris

-----Messaggio originale-----
Da: Jesse Vincent [mailto:je...@bestpractical.com] 
Inviato: Thursday, August 26, 2010 9:13 PM
A: Guadagnino Cristiano
Cc: rt-users@lists.bestpractical.com
Oggetto: Re: [rt-users] mail body: HTML with embedded CSS


Text::Template is the perl module RT uses for templates.

It uses { and } for template delimiters. 

http://search.cpan.org/~mjd/Text-Template-1.45/lib/Text/Template.pm

should show you how to escape your templates - specifically:

http://search.cpan.org/~mjd/Text-Template-1.45/lib/Text/Template.pm#JavaScript



RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year -- Learn how to get the most out of RT!

Reply via email to