Forums / Setup & design / unexpected use of base design

unexpected use of base design

Author Message

James Ward

Thursday 14 October 2004 9:02:56 am

I have moved the path.tpl file from the templates/parts directory of the base design and called it in my current design pagelayout with
{include uri="design:path.tpl"}

But it can't find the tpl in my design. I get the following error:

Notice:  	Oct 14 2004 11:56:28

eZTemplate: Loading template "path.tpl" with resource "design"

Warning: eZTemplate 	Oct 14 2004 11:56:28

No template could be loaded for "path.tpl" using resource "design"

If I switch the include statement back to {include uri="design:parts/path.tpl"} then it loads from the base design without a problem. I just can not seem to get it to load from my current design.

The pagelayout.tpl and the path.tpl are both in the template directory of my design folder. Any suggestions would be much appreciated.

working at www.wardnet.com
blogging at www.jamesward.ca

James Ward

Thursday 14 October 2004 11:17:55 am

I had to add the following to my site.ini override:

[DesignSettings]
AdditionalSiteDesignList[]=my_design

Now it looks in my design folder first.

working at www.wardnet.com
blogging at www.jamesward.ca