[rt-users] Problems with a subject line in a template

Adam Taylor iris at servercity.com
Thu Jan 3 15:36:29 EST 2002


All,
	I created a new templete to be used for my OnCreate
AutoreplyToRequestors scrip, but i'm having problems with the Subject
line. I can't get it to not place [{$rtname} #{$Ticket->id()}] in the
subject line.

For example:
I want to have the subject to be formated as follows:
Subject: Re: My Server is down [SERVERCITY-9]

So in my template i have:
Subject: Re: {$Ticket->Subject()} [{$rtname}-{$Ticket->id()}]

However it always comes out as:
Subject: [SERVERCITY #9] Re: My Server is down [SERVERCITY-9]

So it appears to be adding [{$rtname} #{$Ticket->id()}] in to make it:
Subject: [{$rtname} #{$Ticket->id()}] Re: {$Ticket->Subject()} [{$rtname}-{$Ticket->id()}]

Any ideas on what i might be doing wrong and how i can fix it?

Thanks
Adam Taylor
Servercity Inc.





More information about the rt-users mailing list