Swiss Army Knife: Division in pages and tabs

Hello

I am using SPIP 3.0.5 with the tool "Division in pages and tabs" from the plugin "Swiss Army Knife".

This works fine as long as I don't selct an article to display with the criterion "{par hasard}". With the plugin enabled this criterion selects any page of an article "par hasard" (not nessecerily the 1st one) and the plugin selects any other article instaed of the next page of the current article.

How should I modify my boucle to use both, the plugin and the criterion, in the same template?

Thanks for any help.

Hi,

This is a rather delicate matter.
The only way to get by, I think, is to place the article in a separate template and click in a ajax way :
http://contrib.spip.net/Decouper-un-texte-en-pages-et-ou-en-onglets#ajax

Have you done this already?
It is important that the current id_article is known by the plugin when cutting text.

Pat

Le 13/02/2013 18:20, Ульрих a écrit :

Hello

I am using SPIP 3.0.5 with the tool "Division in pages and tabs" from
the plugin "Swiss Army Knife".

This works fine as long as I don't selct an article to display with the
criterion "{par hasard}". With the plugin enabled this criterion selects
any page of an article "par hasard" (not nessecerily the 1st one) and
the plugin selects any other article instaed of the next page of the
current article.

How should I modify my boucle to use both, the plugin and the criterion,
in the same template?

Thanks for any help.