Combining columns and pagination

Hi

I have a problem with pagination when trying to present a list of articles in two columns. I cannot have both features working in the same boucle.

This is my code for the first column:

<B_articles>
#ANCRE_PAGINATION
<BOUCLE_articles (ARTICLES) {branche?} {par date} {inverse} {1/2} {pagination 10}>


</BOUCLE_articles>

(#PAGINATION{page})

Leaving out {1/2} gives correct results for the pagination, leaving out {pagination 10} gives correct results for the columns. Both applied at the same time gives a list of all articles repeated n/2 times where n is the total number of articles.

Thanks for any help.

Hi,

this question has been resolved (I guess) recently on forum.spip.org :
http://forum.spip.net/en_248499.html#forum248566

Does it correspond to your needs ?

On Tue, Dec 25, 2012 at 5:20 PM, Ульрих <uhfmb@mail.ru> wrote:

Hi

I have a problem with pagination when trying to present a list of articles in two columns. I cannot have both features working in the same boucle.

This is my code for the first column:

<B_articles>
#ANCRE_PAGINATION
<BOUCLE_articles (ARTICLES) {branche?} {par date} {inverse} {1/2} {pagination 10}>


</BOUCLE_articles>

(#PAGINATION{page})

Leaving out {1/2} gives correct results for the pagination, leaving out {pagination 10} gives correct results for the columns. Both applied at the same time gives a list of all articles repeated n/2 times where n is the total number of articles.

Thanks for any help.


spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en