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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 15:51:55
Script start
Timing: Jan 18 2025 15:51:55
Module start 'layout'
Timing: Jan 18 2025 15:51:55
Module start 'content'
Timing: Jan 18 2025 15:51:56
Module end 'content'
Timing: Jan 18 2025 15:51:56
Script end

Main resources:

Total runtime0.5890 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.0313152.6406
Module start 'layout' 0.00560.0039 740.671939.4766
Module start 'content' 0.00940.5779 780.1484507.3594
Module end 'content' 0.58730.0016 1,287.50788.1250
Script end 0.5889  1,295.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5956160.0002
Check MTime0.00140.2314160.0001
Mysql Total
Database connection0.00080.130710.0008
Mysqli_queries0.543292.2326620.0088
Looping result0.00060.1023600.0000
Template Total0.554894.220.2774
Template load0.00220.368320.0011
Template processing0.552693.833520.2763
Template load and register function0.00020.029910.0002
states
state_id_array0.00130.227510.0013
state_identifier_array0.00080.129120.0004
Override
Cache load0.00180.2992210.0001
Sytem overhead
Fetch class attribute can translate value0.00070.124430.0002
Fetch class attribute name0.00110.187540.0003
XML
Image XML parsing0.00030.053830.0001
class_abstraction
Instantiating content class attribute0.00000.001540.0000
General
dbfile0.00150.2589100.0002
String conversion0.00000.001540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs