How to display more than 3 article items on index page?

Author Message

Alexander Kur

Wednesday 18 April 2007 1:41:32 pm

I run out of time and can not spend too much on reading manual(but I will, promise:) )...
So I have almost default ezPublish site where I display news(article summaries) on a index page. By default, it shows only last 3 items.
How can I change this default behavior, what template should I look...

Greets fom Russia

Vicente Olivan

Thursday 19 April 2007 1:30:30 am

Hi, Alexander:

in /extension/ezwebin/design/ezwebin/override/templates/embed/vertically_listed_sub_items.tpl

 

............
	{def $children = array()
	     $limit = 3
	     $offset = 0}
..................
 

change "3" to your items number.

Grettings

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 31 2025 06:25:27
Script start
Timing: Jan 31 2025 06:25:27
Module start 'layout'
Timing: Jan 31 2025 06:25:27
Module start 'content'
Timing: Jan 31 2025 06:25:27
Module end 'content'
Timing: Jan 31 2025 06:25:27
Script end

Main resources:

Total runtime0.0146 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.3750151.2422
Module start 'layout' 0.00530.0029 739.617236.7109
Module start 'content' 0.00820.0051 776.328190.3125
Module end 'content' 0.01320.0014 866.640629.9922
Script end 0.0146  896.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002114.6384140.0002
Check MTime0.00107.1236140.0001
Mysql Total
Database connection0.00096.321810.0009
Mysqli_queries0.002516.837030.0008
Looping result0.00000.164610.0000
Template Total0.00107.110.0010
Template load0.00085.489010.0008
Template processing0.00021.551510.0002
Override
Cache load0.00053.712610.0005
General
dbfile0.001711.537080.0002
String conversion0.00000.081540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs