Forums / Setup & design / Own templates

Own templates

Author Message

Paul Peters

Tuesday 29 June 2004 10:36:05 am

Hello,

Excuse me for my poor English, but it isn't my native language. I'm trying to override the default templates according to the manual, but it doesn't make a lot of sense to me. Does anyone have a example available for me so that i can download that one and can see what it does?

TIA,

Paul

Maarten Holland

Wednesday 30 June 2004 7:57:26 am

Paul,

What are you trying to override (the general, main layout or perhaps the layout for a specific class like a Folder or Article)?

Which documentation did you follow and what is going wrong? What kind of example do you need?

Did you read the tutorial at http://www.ez.no/ez_publish/documentation/building_an_ez_publish_site/setting_up_the_main_layout/creating_a_barebone_main_template? It shows you the basic principles.

Cheers,

Maarten

Paul Peters

Sunday 04 July 2004 7:30:57 am

Thanks Maarten, i've missed that part. It working now.

TIA,

Paul

eZ debug

Timing: Jan 19 2025 04:18:16
Script start
Timing: Jan 19 2025 04:18:16
Module start 'content'
Timing: Jan 19 2025 04:18:17
Module end 'content'
Timing: Jan 19 2025 04:18:17
Script end

Main resources:

Total runtime0.6988 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0120 589.9453180.8516
Module start 'content' 0.01200.5397 770.7969469.7500
Module end 'content' 0.55170.1470 1,240.5469333.5078
Script end 0.6987  1,574.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.6405210.0002
Check MTime0.00170.2492210.0001
Mysql Total
Database connection0.00430.617810.0043
Mysqli_queries0.626289.60831940.0032
Looping result0.00190.27131920.0000
Template Total0.659694.420.3298
Template load0.00220.308020.0011
Template processing0.657494.084320.3287
Template load and register function0.00020.030610.0002
states
state_id_array0.00100.140510.0010
state_identifier_array0.00070.102320.0004
Override
Cache load0.00180.2571180.0001
Sytem overhead
Fetch class attribute can translate value0.00140.194830.0005
Fetch class attribute name0.00120.166330.0004
XML
Image XML parsing0.00060.085130.0002
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00400.5689210.0002
String conversion0.00000.001530.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 4

Time used to render debug report: 0.0002 secs