21/01/2011, 19:31:13
Voici ce que j'ai trouvé dans l'aide de ctlmodulemaker :
Separating into pages
You may limit the number of items to be shown on one page:
{cms_module module="test" what="general" nbperpage="5"}
In the template, you can build the page menu using the {$paginator} object.
The paginator object also has the following attributes:
getPagenumbers()
getShowing()
getNextUrl()
getNextLink()
getPreviousUrl()
getPreviousLink()
getFirstUrl()
getFirstLink()
getLastUrl()
getLastLink()
So you may call a link to the next page using {$paginator->getNextLink()} or {$paginator->getNextLink("Jump to next page!")}.
Donc, tu dois ajouter un truc dans ce style : {$paginator->getNextLink("page suivante")}
Separating into pages
You may limit the number of items to be shown on one page:
{cms_module module="test" what="general" nbperpage="5"}
In the template, you can build the page menu using the {$paginator} object.
The paginator object also has the following attributes:
getPagenumbers()
getShowing()
getNextUrl()
getNextLink()
getPreviousUrl()
getPreviousLink()
getFirstUrl()
getFirstLink()
getLastUrl()
getLastLink()
So you may call a link to the next page using {$paginator->getNextLink()} or {$paginator->getNextLink("Jump to next page!")}.
Donc, tu dois ajouter un truc dans ce style : {$paginator->getNextLink("page suivante")}