how to make the pigination

Author Message

justin kazadi

Thursday 24 April 2008 1:44:07 am

hello all,

I want to know if it possible to the pagination with ez publish et how.

Think in advance.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Salvatore Guarino

Thursday 24 April 2008 2:54:16 am

Hi Justin,

what do you mean with "pagination"? Maybe do you want to limit the number of children visible in a page with a bottom section with navigator links?

If yes, take a look to the standard full folder template, you can limit the number of children through variable $page_limit and include a navigator using default template navigator/google.tpl.

justin kazadi

Thursday 24 April 2008 3:31:28 am

Hi salvatore,

I have an instance of frontpage(name =news) and this instance contains 10 articles like subitems.
My article template display the title , body and contains 2 link like previous article and next article . This link must to allow to see the previous
article and next article which are subiteems of the frontapge(news) but i don't know how to do this.

MY article templates display this :

tutoriels et articles (title)

(body)

Cet article est un petit tutoriel d'introduction à Sitemesh, un framework Java/J2EE web permettant de gérer facilement le layout d'une
application web. Dans cet article, je vais commencer par introduire les autres possibilités de gestion de layout (inclusion de JSP, Tiles),
puis je présenterais Sitemesh et en donnerai un petit exemple pour finir sur ses fonctionnalités avancées.

<previous article next article>

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Patrick Renaud

Thursday 24 April 2008 4:27:08 am

This article should help you : http://ez.no/ezpublish/documentation/customization/custom_design/pagination

Ca, c'est fait !

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

Main resources:

Total runtime0.8596 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.0469152.6250
Module start 'layout' 0.00680.0034 741.671939.4453
Module start 'content' 0.01020.8481 781.1172595.6953
Module end 'content' 0.85830.0013 1,376.812512.1641
Script end 0.8596  1,388.9766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.4970160.0003
Check MTime0.00140.1584160.0001
Mysql Total
Database connection0.00090.099510.0009
Mysqli_queries0.792492.1834620.0128
Looping result0.00070.0794600.0000
Template Total0.824295.920.4121
Template load0.00190.217420.0009
Template processing0.822395.655620.4111
Template load and register function0.00010.012310.0001
states
state_id_array0.00120.144610.0012
state_identifier_array0.00120.137620.0006
Override
Cache load0.00150.1802280.0001
Sytem overhead
Fetch class attribute can translate value0.00140.167930.0005
Fetch class attribute name0.00180.214570.0003
XML
Image XML parsing0.00290.337830.0010
class_abstraction
Instantiating content class attribute0.00000.002480.0000
General
dbfile0.00230.2673280.0001
String conversion0.00000.001140.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/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: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs