design:full/... how to know the template path used

Author Message

Nathalie G

Sunday 30 August 2009 2:23:26 pm

Hello,

In my event workfow I have a template redirection named design:workflow/eventtype/....

but the templates nevers show up. I guess I dit not put the file in the right place. Is there a way to know where ezPublish is looking for my template ?

I usualy use template debug but in this case (template file not found) nothing is displayed in the page html code.

Thanks

Nathalie

http://maisoncontemporaine.net

André R.

Monday 31 August 2009 4:41:11 am

"I have a template redirection named design:workflow/eventtype/."
Are you talking about a template include(in tpl) / fetch(in php)?

Anyway, enable DebugOutput and DebugRedirection*, and it will show you warnings / errors on templates not found and where it is looking for them.
design:workflow/eventtype/ will typically look in <design_name>/templates/workflow/eventtype/ or if there are override and it matches <design_name>/override/templates/workflow/eventtype/.
The design can either be in the /design folder, or the design folder of an extensions**. It will look in the order the extensions are activated*** and priority of the design****.

* Note: You will not see this (warnings) if template is included inside a cached block (wither view cache or template cache-block).
http://ez.no/doc/ez_publish/technical_manual/4_x/reference/configuration_files/site_ini/debugsettings/debugoutput
http://ez.no/doc/ez_publish/technical_manual/4_x/reference/configuration_files/site_ini/debugsettings/debugredirection

** http://ez.no/doc/ez_publish/technical_manual/4_x/reference/configuration_files/design_ini/extensionsettings/designextensions

*** http://ez.no/doc/ez_publish/technical_manual/4_x/reference/configuration_files/site_ini/extensionsettings/activeextensions

**** In the following order:
http://ez.no/doc/ez_publish/technical_manual/4_x/reference/configuration_files/site_ini/designsettings/sitedesign
http://ez.no/doc/ez_publish/technical_manual/4_x/reference/configuration_files/site_ini/designsettings/additionalsitedesignlist
http://ez.no/doc/ez_publish/technical_manual/4_x/reference/configuration_files/site_ini/designsettings/standarddesign

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

Nathalie G

Tuesday 01 September 2009 3:53:44 am

Thank you André for your help.

http://maisoncontemporaine.net

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 31 2025 00:39:24
Script start
Timing: Jan 31 2025 00:39:24
Module start 'layout'
Timing: Jan 31 2025 00:39:24
Module start 'content'
Timing: Jan 31 2025 00:39:24
Module end 'content'
Timing: Jan 31 2025 00:39:24
Script end

Main resources:

Total runtime0.0213 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 589.3984151.2266
Module start 'layout' 0.00460.0036 740.6250220.7344
Module start 'content' 0.00820.0115 961.35941,001.8359
Module end 'content' 0.01970.0016 1,963.195333.9922
Script end 0.0213  1,997.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002712.5724140.0002
Check MTime0.00104.8598140.0001
Mysql Total
Database connection0.00073.299810.0007
Mysqli_queries0.00167.298030.0005
Looping result0.00000.055910.0000
Template Total0.00125.510.0012
Template load0.00094.123410.0009
Template processing0.00031.326410.0003
Override
Cache load0.00062.821510.0006
General
dbfile0.00031.348880.0000
String conversion0.00000.041340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs