Still haven’t managed to resolve this - anyone got any clues?
file:///C|/DOCUME%7E1/NEOSCAPE/LOCALS%7E1/TEMP/nsmail.txt (116 Bytes)
Still haven’t managed to resolve this - anyone got any clues?
file:///C|/DOCUME%7E1/NEOSCAPE/LOCALS%7E1/TEMP/nsmail.txt (116 Bytes)
Maybe you'll find what you are looking for here:
http://biospip.apinc.org/breve.php3?id_breve=11
or here:
http://www.spip-contrib.net/recherche.php3?recherche=pagination
George
Gerry Warner wrote:
Still haven't managed to resolve this - anyone got any clues?
-------- Original Message --------
Subject: [Spip-en] next-previous
Date: Sun, 29 Aug 2004 16:59:42 +0200
From: Gerry Warner <gerry@tenstorey.com>
Reply-To: gerry@tenstorey.com
Organization: Ten Storey
To: Spip-en <spip-en@rezo.net>Hi again,
I've been experimenting with the 'next/previous' article functions using the following code:
<BOUCLE_art(ARTICLES) {par date} {inverse} {0,1}>
<BOUCLE_previous(ARTICLES){age_relatif>
=0}{par date}{inverse}{1,1}> << <a href='#URL_ARTICLE'>previous</a> | </BOUCLE_previous> <BOUCLE_next(ARTICLES){age_relatif0}{par date}{0,1}>
<a href='#URL_ARTICLE'>next</a> >> </BOUCLE_next> </BOUCLE_art>The idea is to navigate through the articles according to which date they were published.
Problem is I often publish the same article on the same day under different sections which seems to give this piece of code some problems - it just doesn't navigate in a linear sense and seems to get stuck on a certain day ('next' goes to the first article published, and 'previous' often just gets stuck).
Is there a failsafe way to navigate from day to day, ignoring the fact that different articles may have been published on the same day?
Thanks as ever...
Gerry
--
Gerry Warner
Ten Storey
gerry@tenstorey.com
+33 632 906 125