Forums / Developer / how to make the pigination

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 !