Forums / General / Which article.tpl is being used?

Which article.tpl is being used?

Author Message

Steven Stieng

Tuesday 08 June 2010 7:00:20 am

I'm trying to figure out which template full page article is using.
The page is created using the class 'article'.

Looking at the debug output, I can only see the list called: 'Templates used to render the page'. And the only thing coming near loading anything, is 'extension/ezwebin/design/ezwebin/templates/page_mainarea.tpl'.

Using Windows Explorer, I've search for all files called article.tpl in  'extension/ezwebin/design/ezwebin/', and tried adding the text "TEST" to each one, to see if this shows up on the page. But I get nothing.

I've switched off all cache.

Where can I edit article.tpl - or add a new article.tpl which will override the default one?

 

Greg McAvoy-Jensen

Tuesday 08 June 2010 4:25:19 pm

Steven,

What is the first entry under 'Templates used to render the page'? That is generally the full view template. You could try clearing the cache before looking at this output, as that will show more templates if caching is on (just in case some kind of caching is still enabled).

To override a template, look in settings/siteaccess/MYACCESS/override.ini.append.php. More on how to do that is here. Essentially, you'll want to create your custom design folder (in design/ or if you are comfortable doing so, in an extension you create an activate). Then make that design the site design in site.ini.append.php (same directory as above). In that design directory, create an override directory, and in it a templates directory, and perhaps in it a full directory. Create your template there, add an override rule in override.ini, and clear the caches.

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Steven Stieng

Wednesday 09 June 2010 12:09:57 am

Ok, found it, thanks.

eZ debug

Timing: Jan 17 2025 23:43:09
Script start
Timing: Jan 17 2025 23:43:09
Module start 'content'
Timing: Jan 17 2025 23:43:10
Module end 'content'
Timing: Jan 17 2025 23:43:10
Script end

Main resources:

Total runtime0.7099 sec
Peak memory usage4,096.0000 KB
Database Queries195

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.8203180.8438
Module start 'content' 0.00550.5640 769.6641546.5391
Module end 'content' 0.56950.1403 1,316.2031332.7500
Script end 0.7098  1,648.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.5480210.0002
Check MTime0.00150.2139210.0001
Mysql Total
Database connection0.00100.141010.0010
Mysqli_queries0.645090.86721950.0033
Looping result0.00200.27751930.0000
Template Total0.686096.620.3430
Template load0.00200.284620.0010
Template processing0.684096.358320.3420
Template load and register function0.00020.023010.0002
states
state_id_array0.00110.156910.0011
state_identifier_array0.00130.181720.0006
Override
Cache load0.00170.2415220.0001
Sytem overhead
Fetch class attribute can translate value0.00120.173030.0004
Fetch class attribute name0.00090.130040.0002
XML
Image XML parsing0.00090.130830.0003
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00260.3600290.0001
String conversion0.00000.000530.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 8

Time used to render debug report: 0.0002 secs