Re: [htmltmpl] Using search_path_on_include
Brought to you by:
samtregar
From: Sam T. <sa...@tr...> - 2003-06-27 22:35:46
|
On Fri, 27 Jun 2003, Adam Gent wrote: > We are trying to use one of the H::T options search_path_on_include > > But we can not seem to get it to work. What do you think it does? You didn't mention <TMPL_INCLUDE> anywhere in your example which makes me think you might not understand the feature... > We are using the following > > my $t = HTML::Template->new( > filename => 'appgenform.tmpl', > global_vars => 1, > cache => 1, > search_path_on_include => 1, > path => [ "/data/apache/templates/PP"], > ); > > The template is located at > > /data/apache/templates/PP/Maintenance/appgenform.tmpl You're missing "Maintenance". Either add it to the 'filename' or add it to the 'path'. -sam |