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

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

Sunday 30 August 2009 2:23:26 pm - 2 replies

Author Message

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

You must be logged in to post messages in this topic!

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