3 column layout

Author Message

Neo Pixel

Wednesday 08 April 2009 7:40:47 am

I've created a 3 column layout tpl by removing the "norightcol" and saved it with a new name.

How do I add this new layout to the ezflow options?

Thanks in advance :)

Asking stupid questions so you don't have to!

Jon Staines

Thursday 09 April 2009 6:57:26 am

Have a look at zone.ini.append.php, in it you will see an entry for each of the existing layouts. This is usually 1 global layout and a few class specific ones. Just make your own entry using the existing ones as a reference. For example:

[GlobalZoneLayout31]
ZoneTypeName=3 zones (layout 1)
Zones[]=left
Zones[]=middle
Zones[]=right
ZoneName[left]=Left zone
ZoneName[middle]=Middle zone
ZoneName[right]=Right zone
ZoneThumbnail=3zones_layout1.gif
Template=3zoneslayout1.tpl
AvailableForClasses[]=global_layout

or

[3ZonesLayout3]
ZoneTypeName=3 zones (layout 3)
Zones[]=left
Zones[]=middle
Zones[]=right
ZoneName[left]=Left zone
ZoneName[middle]=Middle zone
ZoneName[right]=Right zone
ZoneThumbnail=3zones_layout3.gif
Template=3zoneslayout3.tpl
AvailableForClasses[]=frontpage

Neo Pixel

Wednesday 15 April 2009 2:01:56 am

Many Thanks Jon :)

I'll give that a go later.

Asking stupid questions so you don't have to!

Romeo Antony

Tuesday 18 May 2010 2:01:06 am

"

Many Thanks Jon :)

I'll give that a go later.

"

Jon , can u please help me regarding the

3zoneslayout3.tpl.How do we create this templte file for 3 zones.Also I noticed that template file for  2zoneslayout2  and 2zoneslayout1 are same and there is change in alignment of zones.how can we aline zones specifying in template file.help 

Frederik Krautwald

Wednesday 06 October 2010 12:47:27 pm

Any news on this?

Frederik Krautwald
Executive Creative Director

Romeo Antony

Wednesday 03 November 2010 9:36:15 pm

Hi Frederik, sorry for the late reply. I did that. created custom layouts.if u wanna custom layout templates, I wll be happy to help you.

Regards

Romeo

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

Main resources:

Total runtime0.5523 sec
Peak memory usage4,096.0000 KB
Database Queries72

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0074 592.6250152.6250
Module start 'layout' 0.00740.0049 745.250039.4453
Module start 'content' 0.01230.5384 784.6953655.8438
Module end 'content' 0.55070.0015 1,440.539116.1719
Script end 0.5522  1,456.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5981160.0002
Check MTime0.00130.2400160.0001
Mysql Total
Database connection0.00120.222210.0012
Mysqli_queries0.482887.4171720.0067
Looping result0.00080.1369700.0000
Template Total0.496089.820.2480
Template load0.00220.390620.0011
Template processing0.493889.418120.2469
Template load and register function0.00020.040210.0002
states
state_id_array0.00240.435810.0024
state_identifier_array0.00210.385720.0011
Override
Cache load0.00180.3273320.0001
Sytem overhead
Fetch class attribute can translate value0.00090.171340.0002
Fetch class attribute name0.00160.2957100.0002
XML
Image XML parsing0.00350.641740.0009
class_abstraction
Instantiating content class attribute0.00000.0045120.0000
General
dbfile0.00340.6074350.0001
String conversion0.00000.001640.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
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs