[rt-users] how to load templates
Roy El-Hames
rfh at pipex.net
Wed Apr 5 05:46:54 EDT 2006
Hi;
The system: rt-3.4.4 on gentoo with apache2, dbix 1.33, mod_perl2 and
mysql 4.
The idea : certain staff members load update.html with a drop down so
they can choose a pre-prepared updates, my thinking have these updates
as templates.
Created a customised Update.html , and I need to load the templates to
it, but I am unable to do that , my code along the lines :
use RT::Template
my $Template = " A Template Name";
my $Templates = RT::Template->new($RT::SystemUser);
$Templates->Load($Template);
$ARGS{UpdateContent}= $Templates->Content() ;
The above is not working for me .. can anyone help please..
Roy
More information about the rt-users
mailing list