Forums / Setup & design / how do I know which template is being used?

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

eZ debug

Timing: Jan 18 2025 15:58:06
Script start
Timing: Jan 18 2025 15:58:06
Module start 'content'
Timing: Jan 18 2025 15:58:07
Module end 'content'
Timing: Jan 18 2025 15:58:07
Script end

Main resources:

Total runtime1.0632 sec
Peak memory usage4,096.0000 KB
Database Queries191

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0083 587.8438180.8125
Module start 'content' 0.00830.9250 768.6563468.9531
Module end 'content' 0.93330.1299 1,237.6094333.4688
Script end 1.0632  1,571.0781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3765210.0002
Check MTime0.00160.1460210.0001
Mysql Total
Database connection0.00130.122110.0013
Mysqli_queries0.995693.63811910.0052
Looping result0.00180.16781890.0000
Template Total1.032097.120.5160
Template load0.00220.208020.0011
Template processing1.029896.858220.5149
Template load and register function0.00020.015410.0002
states
state_id_array0.00080.074410.0008
state_identifier_array0.00160.146520.0008
Override
Cache load0.00180.1728260.0001
Sytem overhead
Fetch class attribute can translate value0.00130.118730.0004
Fetch class attribute name0.00130.124620.0007
XML
Image XML parsing0.00050.050030.0002
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00610.5720210.0003
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs