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

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