how do I know which template is being used?

Author Message

Shaun Ellis

Friday 19 September 2003 10:49:49 am

I'm having some problems figuring out which templates are being used, particularly in how I override the full.tpl template. I've read the documentation on templates and edited override.ini, but when I make changes I'm not getting any results. I have caching off and have deleted the cache files.

It would be a lot easier if the templates used to render the page were displayed when debugging is enabled. Then I would know exactly which template file I needed to override and/or replace. Is there some way to determine this?

Thanks,
Shaun

RW Wood

Saturday 20 September 2003 1:09:15 pm

Turn on debugging in your site.ini.append, clear the cache, and reload the page. You should see what template is producing what part of the display. Below are the settings.

[DebugSettings]
DebugOutput=disabled
DebugByIP=enabled
# A array with IP addresses which will get debug information
DebugIPList[]
# Examples
#DebugIPList[]=1.2.3.4
#DebugIPList[]=192.0.0.42
Debug=inline
DebugRedirection=disabled

[TemplateSettings]
Debug=enabled
TemplateCache=disabled

See also:
http://ez.no/developer/ez_publish_3/forum/setup_design/custom_template_again#msg34774

HTH,
RWW

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