line_class, full_class, full_node

Author Message

StoneFly Techonology

Wednesday 14 May 2003 4:23:04 pm

In the demo, there is a directory "design/demo/override/tempates/mode/view/"
and it houses files like

"line_class_22.tpl" and "full_class_24.tpl" and "full_node_32.tpl"

What is the naming convention used or what is the file heirarchy of files like the ones above?
For example: running ez Publish without demo data puts files like "full.tpl" and "line.tpl" in the "design/mydesign/override/tempates/mode/view/" directory, but I'm not sure when it is appropriate/needed to make files in that directory like the ones in the demo like "full_node_32.tpl" (which comes with the demo).

suggestion: someone should have comments at the top of each file that explains what it does

Thanks

Karsten Jennissen

Wednesday 14 May 2003 10:12:22 pm

Hi,

try reading up here:
http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/terminology_basics/custom_designs_directory_structure_explained

http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/terminology_basics/view_modes_of_objects

full refers to the view mode, node / class refers to the item type in the ez publish hierarchy and the number is the number of the item. full_node_... override full.tpl.

Karsten

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

eZ debug

Timing: Jan 18 2025 11:13:25
Script start
Timing: Jan 18 2025 11:13:25
Module start 'layout'
Timing: Jan 18 2025 11:13:25
Module start 'content'
Timing: Jan 18 2025 11:13:27
Module end 'content'
Timing: Jan 18 2025 11:13:27
Script end

Main resources:

Total runtime1.1896 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 589.0313152.6250
Module start 'layout' 0.00670.0038 741.656339.4609
Module start 'content' 0.01051.1777 781.1172460.3594
Module end 'content' 1.18820.0014 1,241.47668.1563
Script end 1.1896  1,249.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2991160.0002
Check MTime0.00150.1292160.0001
Mysql Total
Database connection0.00150.123110.0015
Mysqli_queries1.141795.9703540.0211
Looping result0.00050.0429520.0000
Template Total1.150696.720.5753
Template load0.00260.218520.0013
Template processing1.147996.495620.5740
Template load and register function0.00030.022910.0003
states
state_id_array0.00100.085110.0010
state_identifier_array0.00160.133620.0008
Override
Cache load0.00200.1660170.0001
Sytem overhead
Fetch class attribute can translate value0.00130.108020.0006
Fetch class attribute name0.00120.104420.0006
XML
Image XML parsing0.00020.018820.0001
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00080.0684100.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs