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

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

{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!