List Info

Thread: problem with locating template




problem with locating template
user name
2006-12-12 17:25:39
I have a utility template 'my_util.tt' that gets published
to the  
root category '/' but when I try to use it:
   [% PROCESS my_util.tt %]

I get an error;
  "file error - my_util.tt: not found"

Not sure why it can't get the template. can anyone help?

Thanks,

Adeola.
problem with locating template
user name
2006-12-12 19:03:37
On Dec 12, 2006, at 9:25 AM, Adeola Awoyemi wrote:

> I have a utility template 'my_util.tt' that gets
published to the  
> root category '/' but when I try to use it:
>   [% PROCESS my_util.tt %]
>
> I get an error;
>  "file error - my_util.tt: not found"
>
> Not sure why it can't get the template. can anyone
help?

What version of Bricolage? I added tests to 1.10 that
include a  
utility template. It gets called like this:

   [% INCLUDE testing/sub/util.tt license = 'BSD' -%]

So I should think that what you have would work…

Best,

David
problem with locating template
user name
2006-12-12 19:03:37
On Dec 12, 2006, at 9:25 AM, Adeola Awoyemi wrote:

> I have a utility template 'my_util.tt' that gets
published to the  
> root category '/' but when I try to use it:
>   [% PROCESS my_util.tt %]
>
> I get an error;
>  "file error - my_util.tt: not found"
>
> Not sure why it can't get the template. can anyone
help?

What version of Bricolage? I added tests to 1.10 that
include a  
utility template. It gets called like this:

   [% INCLUDE testing/sub/util.tt license = 'BSD' -%]

So I should think that what you have would work…

Best,

David
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )