A path problem

Author Message

Fiona Hisa

Tuesday 29 May 2007 12:12:24 am

hi, I am a beginner of eZ . I meet with a problem. My template file is

"/design/sitename/override/templates/full/example.tpl"

if I want to include a template file which is in

" /design/sitename/override/templates/line/example.tpl"

, how to write the path?

{include uri="design: override/templates/line/example.tpl"} ?

thanks in advance!

André R.

Tuesday 29 May 2007 6:12:28 am

{include uri="design:line/example.tpl"}

this will be in 'design_name'/templates/line/example.tpl
the override folder is used for overrides, and they are set up in override.ini

It's a bit old but still relevant and the best step by step introduction to eZ Publish:
http://ez.no/ezpublish/documentation/building_an_ez_publish_site

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

Fiona Hisa

Tuesday 29 May 2007 6:41:49 pm

oh,I see .thank you for your help. I will study it later. *^_^*

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 18:33:32
Script start
Timing: Jan 18 2025 18:33:32
Module start 'layout'
Timing: Jan 18 2025 18:33:32
Module start 'content'
Timing: Jan 18 2025 18:33:33
Module end 'content'
Timing: Jan 18 2025 18:33:33
Script end

Main resources:

Total runtime0.6383 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 588.9219152.6094
Module start 'layout' 0.00460.0025 741.531339.4297
Module start 'content' 0.00710.6300 780.9609537.2813
Module end 'content' 0.63700.0012 1,318.242212.1953
Script end 0.6382  1,330.4375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.4617160.0002
Check MTime0.00120.1945160.0001
Mysql Total
Database connection0.00070.106110.0007
Mysqli_queries0.596893.5016570.0105
Looping result0.00060.0862550.0000
Template Total0.614896.320.3074
Template load0.00180.288920.0009
Template processing0.612996.026020.3065
Template load and register function0.00020.027610.0002
states
state_id_array0.00070.105010.0007
state_identifier_array0.00060.097520.0003
Override
Cache load0.00150.2338190.0001
Sytem overhead
Fetch class attribute can translate value0.00060.089620.0003
Fetch class attribute name0.00120.188240.0003
XML
Image XML parsing0.00070.107820.0003
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00080.1326170.0000
String conversion0.00000.006140.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs