Forums / Setup & design / {include uri="design:..."} only from pagelayout?

{include uri="design:..."} only from pagelayout?

Author Message

Erik Petersen

Tuesday 01 July 2003 9:19:00 pm

Can someone enlighten me as to why this fails:

pagelayout.tpl:

{include uri="design:header.tpl"}

header.tpl:

{include uri="design:subhead.tpl"}

subhead.tpl:

stuff

all 3 files in design/user/templates. Fails with debug message:

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

TIA

Paul Forsyth

Tuesday 01 July 2003 11:53:32 pm

File permissions?

Erik Petersen

Wednesday 02 July 2003 11:33:26 am

seems to be a template caching issue. I had another problem with included templates and clearing the template cache seemed to solve it. I didn't rety this however so maybe it's not fixed...

Thomas Brandl

Thursday 24 July 2003 7:18:10 am

Yep, exactly the same experience!

Glad I found your post, clearing the cache would not have been sth. I had done next...

It's a bug, though!