[rt-users] Dynamic choice of templates based on the value of a CF

Landon Stewart lstewart at iweb.com
Fri Sep 6 14:55:11 EDT 2013


On 6 September 2013 11:04, Landon Stewart <lstewart at iweb.com> wrote:

> What I think I can do is simply have one very short Template that is
> basically 100% perl and includes some text from a text file stored on the
> file system but outside RTIR.  Which file gets included in the Template is
> dependent upon the CF.{Classification}.
>
> ie:
> { require
> "/path/to/templates/".$Ticket->FirstCustomFieldValue('Classification').".template"; }
>
>
Actually I believe I found the answer which I'm going to try…  I basically
need a hybrid of these two because we also send different copies of
templates depending on the language the customer prefers to be communicated
with in.

http://requesttracker.wikia.com/wiki/ForkTemplate
http://requesttracker.wikia.com/wiki/ChooseTemplateByUserLang

So - never mind my original post unless you have any information that's
better than the two ones above.

-- 
Landon Stewart :: lstewart at iweb.com
Lead Specialist, Abuse and Security Management
Spécialiste principal, gestion des abus et sécurité
http://iweb.com :: +1 (888) 909-4932
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130906/f08d816b/attachment.htm>


More information about the rt-users mailing list