Printing headers in 2 columns

Author Message

Piotr Kwiatkowski

Tuesday 25 May 2004 12:38:09 pm

Hello,

I have got such problem:
I want to print my headers of news in 2 columns in such structure:

<table>
<tr>
	<td> <!-- Column 1 -->
	Header 1
	Header 2
	Header 3
	</td>
	<td> <!-- Column 2 -->
	Header 4
	Header 5
	Header 6
	</td>
</tr>
<table>

How I can do this? Thanks for help.

Greetings.

Paul Borgermans

Tuesday 25 May 2004 12:46:54 pm

Look at the offset and max in

http://ez.no/ez_publish/documentation/reference/template_functions/program_flow/section

or even smarter with section-include to put the </td><td> at the 4th iteration

Scroll down to see the examples, they are instructive

Regards

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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 15:56:58
Script start
Timing: Jan 18 2025 15:56:58
Module start 'layout'
Timing: Jan 18 2025 15:56:58
Module start 'content'
Timing: Jan 18 2025 15:56:59
Module end 'content'
Timing: Jan 18 2025 15:56:59
Script end

Main resources:

Total runtime0.9669 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.0098 589.3594152.6250
Module start 'layout' 0.00980.0062 741.984439.4453
Module start 'content' 0.01590.9490 781.4297523.7734
Module end 'content' 0.96490.0019 1,305.20318.1641
Script end 0.9668  1,313.3672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3693160.0002
Check MTime0.00140.1402160.0001
Mysql Total
Database connection0.00060.066210.0006
Mysqli_queries0.913094.4277540.0169
Looping result0.00040.0465520.0000
Template Total0.929196.120.4646
Template load0.00190.197220.0010
Template processing0.927295.899320.4636
Template load and register function0.00020.020510.0002
states
state_id_array0.00090.095710.0009
state_identifier_array0.00090.091120.0004
Override
Cache load0.00150.1601170.0001
Sytem overhead
Fetch class attribute can translate value0.00050.053320.0003
Fetch class attribute name0.00090.090330.0003
XML
Image XML parsing0.00060.064420.0003
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00220.2259170.0001
String conversion0.00000.001240.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 7

Time used to render debug report: 0.0001 secs