[rt-users] Rich text in templates?

Alex Young alexyoung at scoutsolutions.co.uk
Fri Jan 16 09:41:41 EST 2009


It is supported in 3.8.2 I have it setup on most of the templates now,
and it's been working fine.

Here are a couple of our templates. They were just done quickly to show
that it works:

Autoreply template:

Content-Type: text/html
Subject: AutoReply: {$Ticket->Subject}

<font face="verdana" size="2">
This is an automated response and your message regarding
<b>"{$Ticket->Subject()}",</b> has been received and assigned a ticket
ID of [{ $Ticket->QueueObj->SubjectTag || $rtname } #{$Ticket->id()}].
<br><br>
If you choose to telephone us on this issue, please ensure you have your
ticket number (#{$Ticket->id()}) to hand as you will be asked for it.
<br><br>
In order to track the progress of this request, please reply to this
email or to any message you are sent, retaining the subject line. For
example: <i>Subject: [{ $Ticket->QueueObj->SubjectTag || $rtname }
#{$Ticket->id()}]</i>
<br><br>
Please note that if you do not do this, a new ticket will be created and
this will delay the resolution of your query.
<br><br>
<b>Email:</b> {$Ticket->QueueObj->CorrespondAddress()}
<br><br>
<center>-----------------------------------------------------</center>
</font>




Transaction template:

Content-Type: text/html
RT-Attach-Message: yes

<font face="verdana" size="2">
{$Transaction->CreatedAsString}:<b> Request {$Ticket->id} was acted
upon.</b><br><br>
<b>Transaction:</b> {$Transaction->Description}<br>
       <b>Queue:</b> {$Ticket->QueueObj->Name}<br>
     <b>Subject:</b> {$Transaction->Subject || $Ticket->Subject || "(No
subject given)"}<br>
       <b>Owner:</b> {$Ticket->OwnerObj->Name}<br>
  <b>Requestors:</b> {$Ticket->RequestorAddresses}<br>
      <b>Status:</b> {$Ticket->Status}<br>
<b>Ticket:</b> {$RT::WebURL}Ticket/Display.html?id={$Ticket->id}
<br><br>
<center>-----------------------------------------------------</center>
</font>

{$Transaction->Content()}



-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Andy
Smith
Sent: 16 January 2009 12:56
To: rt-users at lists.bestpractical.com
Subject: [rt-users] Rich text in templates?

Hi,

   In RT 3.8.x is rich text formatting supported for templates? It  
appears to me not which seems a strange omission, if its not supported  
is it in the pipeline for future versions?

thanks Andy.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales at bestpractical.com


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



More information about the rt-users mailing list