template_path

Konnor Willison <[email protected]> Tue, 23 Apr 2013 10:21:06 -0600
Newsgroups gmane.comp.lang.perl.modules.template-toolkit
Message-ID <CAOYRktJ7VLU-ADC--L4CO7QaLXGLeUvmO9R9rhGhR=BDKv1Gqg@mail.gmail.com>
Howdy,

I set my template_path and it worked out originally but now I'm wanting the
site to grow and I tried creating another directory within my template path
but any html files in that new directory (labeled foo below) don't allow me
to use template toolkit and I'm not sure why.

originally:

sub template_path { '/home8/username/public_html/foo };

I tried updating this to be:

sub base_dir_abs { return ['/home8/username/public_html/foo,
'/home8/username/public_html/foo/foo2/foo3']; }

This kept the original template path but still isn't working for the new
dir and I'm retarded and stuck...

Any help appreciated.

Konnor

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates