limit 8 articles

Author Message

J. Field

Wednesday 21 May 2003 7:16:26 pm

Hello, I have the following problem, when I have more than 8 articles in a page, the others do not appear. As I can place in the group navigation arrows so that they appear the other articles in case they exist more than 8? Somebody knows if this value can be changed? anticipated thanks.

John van der Boom

Thursday 22 May 2003 9:38:55 am

In the template look for these fields

1. {let page_limit=8}

and something like:

2. {let list=fetch(content,list,hash(parent_node_id,$node.object.main_node_id,limit,$page_limit,class_filter_type,include,class_filter_array,array(2)))}

As you can see the variable $page_limit gets the value 8, that way only 8 articles are fetched.

Solutions:
1. Change the value of {let page_limit=8} to something else e.g. 10 or
2. Don't use a variable but instead put the value directly in the fetch line.
3. Remove the 1st field and this part of the fetch command (2nd field) "limit,$page_limit,". This way it fetch everything within that node.

More info abou the fetch command look here:
http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/howtos/how_to_fetch_function_parameters_and_examples

Good luck

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 11:02:46
Script start
Timing: Jan 18 2025 11:02:46
Module start 'layout'
Timing: Jan 18 2025 11:02:46
Module start 'content'
Timing: Jan 18 2025 11:02:47
Module end 'content'
Timing: Jan 18 2025 11:02:47
Script end

Main resources:

Total runtime0.6974 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.0068 587.8125152.6094
Module start 'layout' 0.00680.0034 740.421939.4141
Module start 'content' 0.01020.6859 779.8359459.3594
Module end 'content' 0.69610.0013 1,239.19538.1875
Script end 0.6974  1,247.3828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4811160.0002
Check MTime0.00140.2050160.0001
Mysql Total
Database connection0.00110.160910.0011
Mysqli_queries0.651093.3437540.0121
Looping result0.00050.0724520.0000
Template Total0.667195.620.3335
Template load0.00220.312120.0011
Template processing0.664995.330920.3324
Template load and register function0.00020.032710.0002
states
state_id_array0.00150.214310.0015
state_identifier_array0.00080.115420.0004
Override
Cache load0.00180.2642170.0001
Sytem overhead
Fetch class attribute can translate value0.00060.092920.0003
Fetch class attribute name0.00160.230020.0008
XML
Image XML parsing0.00030.044020.0002
class_abstraction
Instantiating content class attribute0.00000.001220.0000
General
dbfile0.00060.0888100.0001
String conversion0.00000.001840.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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs