Main page

Author Message

David Santiso

Monday 14 February 2011 11:41:54 am

Hi,

Is required to build the main page based on blocks?

No default block showing what I want.

Have I to develop a block or I can directly edit the template?

What template is it?

Thanks,

David

Carlos Revillo

Monday 14 February 2011 12:20:31 pm

no. you are totally free when it comes to create your main page. provided ezflow templates uses blocks, zones and so on. you can use that or just add an override and start from a blank one.

your main page will be also a node, as any others in the content tree, so you'll probably need an override for node/view/full.tpl template.

David Santiso

Tuesday 15 February 2011 11:05:36 am

The node/view/full.tpl template of main page is extension/ezflow/design/ezflow/override/templates/full/frontpage.tpl and its code is:

<div class="content-view-full">
<span class="Apple-tab-span" style="white-space:pre"> </span><div class="class-frontpage">
<span class="Apple-tab-span" style="white-space:pre">  </span><div class="attribute-page">
<span class="Apple-tab-span" style="white-space:pre">   </span>{attribute_view_gui attribute=$node.object.data_map.page}
<span class="Apple-tab-span" style="white-space:pre">  </span></div>
<span class="Apple-tab-span" style="white-space:pre"> </span></div>
</div>

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 02:54:39
Script start
Timing: Jan 18 2025 02:54:39
Module start 'layout'
Timing: Jan 18 2025 02:54:39
Module start 'content'
Timing: Jan 18 2025 02:54:40
Module end 'content'
Timing: Jan 18 2025 02:54:40
Script end

Main resources:

Total runtime1.0704 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 591.4219152.6094
Module start 'layout' 0.00460.0027 744.031339.4063
Module start 'content' 0.00731.0617 783.4375470.5859
Module end 'content' 1.06900.0014 1,254.02348.2031
Script end 1.0704  1,262.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2875160.0002
Check MTime0.00130.1230160.0001
Mysql Total
Database connection0.00050.049810.0005
Mysqli_queries1.027195.9526570.0180
Looping result0.00060.0556550.0000
Template Total1.045497.720.5227
Template load0.00190.174420.0009
Template processing1.043597.484520.5218
Template load and register function0.00020.020210.0002
states
state_id_array0.00080.070810.0008
state_identifier_array0.00110.105520.0006
Override
Cache load0.00150.1419200.0001
Sytem overhead
Fetch class attribute can translate value0.00060.060520.0003
Fetch class attribute name0.00130.125530.0004
XML
Image XML parsing0.00020.022820.0001
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00180.1638100.0002
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
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
2content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
2content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.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: 13
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs