Is there a way to limit the products on one page?

Author Message

Katie D

Wednesday 23 April 2003 10:23:58 am

I was using an earlier ez and could limit the products on each page in the ini file

ProductLimit=5
ProductSearchLimit=10

Is there a way to do it with this version, I hope so.

Thanks in advance

Atle Enersen

Thursday 24 April 2003 12:16:53 am

I migth be on thin ice since I've not played with products/shop yet, but...

For normal pages (content) the directive "page_limit=" migth be what you're looking for. Check the standard templates to see the actual implementation.

\atle\
--

Katie D

Thursday 24 April 2003 8:45:38 am

Thanks Atle, I have to figure on how to put it in my bookstore template page, which if I am being conservative will take me about a month, unless any of you have any ideas.

Sorry I seem a bit slow, and I'm not even blonde.

thanks again for the help

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 05:07:03
Script start
Timing: Jan 18 2025 05:07:03
Module start 'layout'
Timing: Jan 18 2025 05:07:03
Module start 'content'
Timing: Jan 18 2025 05:07:03
Module end 'content'
Timing: Jan 18 2025 05:07:03
Script end

Main resources:

Total runtime0.5765 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.0053 589.1563152.6406
Module start 'layout' 0.00530.0025 741.796939.4766
Module start 'content' 0.00770.5670 781.2734467.1953
Module end 'content' 0.57470.0017 1,248.46888.1250
Script end 0.5764  1,256.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.5308160.0002
Check MTime0.00130.2261160.0001
Mysql Total
Database connection0.00070.119210.0007
Mysqli_queries0.534192.6570570.0094
Looping result0.00080.1319550.0000
Template Total0.542594.120.2712
Template load0.00200.349120.0010
Template processing0.540593.752020.2702
Template load and register function0.00020.029010.0002
states
state_id_array0.00090.150610.0009
state_identifier_array0.00070.122820.0004
Override
Cache load0.00160.2807170.0001
Sytem overhead
Fetch class attribute can translate value0.00050.093720.0003
Fetch class attribute name0.00110.193130.0004
XML
Image XML parsing0.00020.035120.0001
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00060.0974100.0001
String conversion0.00000.001540.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
5content/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: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs