Inlude templates located into override

Author Message

Lisa Pini

Thursday 28 August 2008 3:05:58 am

Hi,
Is there anyway to include a template located into mydesign/override/templates/... by using include function?

I have read in this documentatin (by Bertrand Dunogier) that it may be possible:
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/template_functions/miscellaneous/include#comment20195

but nobody answered to Seb for the syntax.

Can someone help me?

Lisa

André R.

Thursday 28 August 2008 3:46:24 am

"You could in 3.x but not in 4.0 and higher. Now overrides/ are for overrides. "

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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:17:53
Script start
Timing: Jan 18 2025 15:17:53
Module start 'layout'
Timing: Jan 18 2025 15:17:53
Module start 'content'
Timing: Jan 18 2025 15:17:54
Module end 'content'
Timing: Jan 18 2025 15:17:54
Script end

Main resources:

Total runtime0.7092 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.1484152.6406
Module start 'layout' 0.00530.0028 741.789139.4609
Module start 'content' 0.00800.6999 781.2500523.4766
Module end 'content' 0.70790.0013 1,304.72668.1563
Script end 0.7092  1,312.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4264160.0002
Check MTime0.00130.1794160.0001
Mysql Total
Database connection0.00090.133810.0009
Mysqli_queries0.668294.2129540.0124
Looping result0.00060.0875520.0000
Template Total0.680796.020.3404
Template load0.00190.266520.0009
Template processing0.678895.709720.3394
Template load and register function0.00020.021710.0002
states
state_id_array0.00080.112510.0008
state_identifier_array0.00090.120520.0004
Override
Cache load0.00150.2101130.0001
Sytem overhead
Fetch class attribute can translate value0.00070.099320.0004
Fetch class attribute name0.00160.226630.0005
XML
Image XML parsing0.00060.087020.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00070.0982170.0000
String conversion0.00000.001340.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 6

Time used to render debug report: 0.0001 secs