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




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to