How to template map .. am lost ^^

Author Message

Marvix Marx

Sunday 23 March 2008 12:27:58 pm

The main Home it is frontpage class, in the pagelayout I just inserted this code to view the page content:

{$module_result.content}

and in the zone/frontpage.tpl ... I just called the zones (top, left & right) ... now when the viewed node is article or folder ... how to keep the same layout, should I make all the classes with Layout datatype ?

Thanks !

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 19:23:21
Script start
Timing: Jan 18 2025 19:23:21
Module start 'layout'
Timing: Jan 18 2025 19:23:21
Module start 'content'
Timing: Jan 18 2025 19:23:22
Module end 'content'
Timing: Jan 18 2025 19:23:22
Script end

Main resources:

Total runtime0.9713 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 587.9141152.6250
Module start 'layout' 0.00670.0040 740.539139.4453
Module start 'content' 0.01060.9591 779.9844399.3359
Module end 'content' 0.96970.0015 1,179.32038.1563
Script end 0.9712  1,187.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3505160.0002
Check MTime0.00140.1486160.0001
Mysql Total
Database connection0.00060.059510.0006
Mysqli_queries0.930795.8263460.0202
Looping result0.00040.0446440.0000
Template Total0.926595.420.4632
Template load0.00220.230020.0011
Template processing0.924295.159120.4621
Template load and register function0.00010.013710.0001
states
state_id_array0.00140.149210.0014
state_identifier_array0.00220.228320.0011
Override
Cache load0.00180.185670.0003
Sytem overhead
Fetch class attribute can translate value0.00060.062510.0006
Fetch class attribute name0.00140.139110.0014
XML
Image XML parsing0.00020.016910.0002
class_abstraction
Instantiating content class attribute0.00000.000910.0000
General
dbfile0.00060.0661100.0001
String conversion0.00000.000940.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs