On 2004-09-17, Jose Pedro Andres <[EMAIL PROTECTED]> wrote:
>
>
> Hi:
>  Excuse me if it isn't the appropiate list.
>
>  I'm trying to use html::template witch CGI::Application, but i like to select
> the html include dir in a config file. When i use:
>
> $template_dir = "/opt/test/html_head/";
> my $app = boxmodule->new(
>       TMPL_PATH => "$template_dir"
> );
>
> i always get an error when i try to select the html template file
> as i suppoused, when i use TMPL_PATH => "$template_dir", all the includes of
> html templates must look in this directory, but it always said me "can't
> include file"

The syntax you are using above looks correct. Could you provide more
detail? The answer may be related to how you reference your include
files from the parent template, for example.

        Mark

-- 
 . . . . . . . . . . . . . . . . . . . . . . . . . . . 
   Mark Stosberg            Principal Developer  
   [EMAIL PROTECTED]     Summersault, LLC     
   765-939-9301 ext 202     database driven websites
 . . . . . http://www.summersault.com/ . . . . . . . .



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to