Still hung up on limit of eight items in main template

Author Message

Richard Wood

Wednesday 29 January 2003 1:28:15 am

I've posted this question before to no avail.
I have hunted many more times since for the bit of code that sets a limit of eight line_class_xx items in a view.
The main pagelayout.tpl simply calls the content module.
I've looked all through the templates and PHP files for the number 8, and also the number 7 in case there is a loop going 0 to 7.
Does anyone have any idea where this limit is set, or how to override it. I'm getting frustrated because the first bits of content on my regularly updated site have disappeared off the bottom and I want to still show them.
Regards
Richard.

Jan Borsodi

Wednesday 29 January 2003 2:22:07 am

> I've posted this question before to no avail.
> I have hunted many more times since for the bit of code that
> sets a limit of eight line_class_xx items in a view.
> The main pagelayout.tpl simply calls the content module.

Actually the module is called before the pagelayout then the pagelayout simple shows the text result from that module.

> I've looked all through the templates and PHP files for the
> number 8, and also the number 7 in case there is a loop
> going 0 to 7.
> Does anyone have any idea where this limit is set, or how to
> override it. I'm getting frustrated because the first bits
> of content on my regularly updated site have disappeared off
> the bottom and I want to still show them.

The limit is determined by the template, I'm guessing that you have demo installed or that you are using the user design.
If so look in design/user/override/templates/node/view/ and look in any full_class_n.tpl files, for instance full_class_1.tpl contains an 8 item limit.
You probably want to create your own design with custom template overrides.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Richard Wood

Wednesday 29 January 2003 3:09:11 am

> > I've posted this question before to no avail.
> > I have hunted many more times since for the bit of code
> that
> > sets a limit of eight line_class_xx items in a view.
> > The main pagelayout.tpl simply calls the content module.
>
> Actually the module is called before the pagelayout then the
> pagelayout simple shows the text result from that module.
>
> > I've looked all through the templates and PHP files for
> the
> > number 8, and also the number 7 in case there is a loop
> > going 0 to 7.
> > Does anyone have any idea where this limit is set, or how
> to
> > override it. I'm getting frustrated because the first
> bits
> > of content on my regularly updated site have disappeared
> off
> > the bottom and I want to still show them.
>
> The limit is determined by the template, I'm guessing that
> you have demo installed or that you are using the user
> design.
> If so look in design/user/override/templates/node/view/ and
> look in any full_class_n.tpl files, for instance
> full_class_1.tpl contains an 8 item limit.
> You probably want to create your own design with custom
> template overrides.

Thank you.
I had played with that 8 many times to no effect previously but now it seems to work. It must be something to do with caching somewhere even though I've had ezPublish's caching turned off for a while now.
The full_class_1.tpl is important here because it is the override template for folder views, something I hadn't appreciated previously. It was a major missing link in my understanding.
Regards
Richard

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

Main resources:

Total runtime0.6145 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.0042 591.8125152.6563
Module start 'layout' 0.00420.0026 744.468839.5234
Module start 'content' 0.00680.6060 783.9922550.0938
Module end 'content' 0.61280.0016 1,334.085912.1094
Script end 0.6144  1,346.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.4746160.0002
Check MTime0.00120.2031160.0001
Mysql Total
Database connection0.00080.125610.0008
Mysqli_queries0.557190.6600570.0098
Looping result0.00080.1227550.0000
Template Total0.589695.920.2948
Template load0.00200.322120.0010
Template processing0.587695.618620.2938
Template load and register function0.00030.044610.0003
states
state_id_array0.00070.120910.0007
state_identifier_array0.00120.197120.0006
Override
Cache load0.00170.2845620.0000
Sytem overhead
Fetch class attribute can translate value0.00090.152520.0005
Fetch class attribute name0.00160.253740.0004
XML
Image XML parsing0.00070.111920.0003
class_abstraction
Instantiating content class attribute0.00000.001640.0000
General
dbfile0.00090.1395170.0001
String conversion0.00000.000640.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
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs