Hi,
we would like to use some job variables (<TMPL_VAR customer_id>, <TMPL_VAR customer_name>, <TMPL_VAR job_name>) in the confirm_email.html template (section LOOP files).
But global TMPL vars are not parsed in the files loop. Any ideas?
thanks & regards,
Daniel
XUpload - global variables in files LOOP
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Good question
In upload.cgi replace this line:
with
In upload.cgi replace this line:
Code: Select all
my $tmpl = HTML::Template->new( filename => "Templates/confirm_email.html", die_on_bad_params => 0 );
Code: Select all
my $tmpl = HTML::Template->new( filename => "Templates/confirm_email.html", die_on_bad_params => 0,global_vars => 1 );