how to paginate 1 by 1

Hi, all!

How can I have links like "previous" and "next"?

My rubrique shows just one article per time with {pagination 1}, that
gives me the navigation:
0 | 1 | 2 | 3

If I use #PAGINATION{page_precedent_suivant} gets like this:
1 | 2 | 3 | 4 | >

but I would prefer just:
previous | next

is that possible?

http://www.windhorsetattoo.com/spip.php?rubrique3&var_mode=calcul

Thank you in advance!
tereza

Hi,

you have the solution in the model used to display the paginations :
/prive/modeles/pagination_precedent_suivant.html

it’s used to display #PAGINATION{precedent_suivant}
(cf. doc : http://www.spip.net/en_article3488.html)

.Gilles

On Wed, Nov 17, 2010 at 8:39 PM, Tereza Loparic <telopa@gmail.com> wrote:

Hi, all!

How can I have links like « previous » and « next »?

My rubrique shows just one article per time with {pagination 1}, that
gives me the navigation:
0 | 1 | 2 | 3

If I use #PAGINATION{page_precedent_suivant} gets like this:
1 | 2 | 3 | 4 | >

but I would prefer just:
previous | next

is that possible?

http://www.windhorsetattoo.com/spip.php?rubrique3&var_mode=calcul

Thank you in advance!
tereza


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

Thank you, Gilles! It works now. :smiley:

But I wish I could use some images instead of the texts "precedent" /
"suivant". It looks so difficult to me to edit
/prive/modeles/pagination_precedent_suivant.html, but maybe you
already knows how to do it?

thanks
tereza

On Wed, Nov 17, 2010 at 6:00 PM, Gilles VINCENT
<gilles.vincent@gmail.com> wrote:

Hi,

you have the solution in the model used to display the paginations :
/prive/modeles/pagination_precedent_suivant.html

it's used to display #PAGINATION{precedent_suivant}
(cf. doc : The Pagination System - SPIP)

.Gilles
--

On Wed, Nov 17, 2010 at 8:39 PM, Tereza Loparic <telopa@gmail.com> wrote:

Hi, all!

How can I have links like "previous" and "next"?

My rubrique shows just one article per time with {pagination 1}, that
gives me the navigation:
0 | 1 | 2 | 3

If I use #PAGINATION{page_precedent_suivant} gets like this:
1 | 2 | 3 | 4 | >

but I would prefer just:
previous | next

is that possible?

http://www.windhorsetattoo.com/spip.php?rubrique3&var_mode=calcul

Thank you in advance!
tereza
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

Hi,
Impossible to log to our magazine based on spip 1.73.

Login page is not displaying input password field anymore.

Please look at:
http://cyme.org/magazine/spip_login.php3?var_url=ecrire%2F

Can you help?

Georges

Whoa this is very old. You need to upgrade. I think you had this specific problem when an old login.html file was left on the server after a spip upgrade, but I don’t remember the details. In any case, please upgrade, your site is at risk with many security bugs.

On Thu, Nov 25, 2010 at 10:40 PM, Georges <georges@cyme.org> wrote:

Hi,
Impossible to log to our magazine based on spip 1.73.

Login page is not displaying input password field anymore.

Please look at:
http://cyme.org/magazine/spip_login.php3?var_url=ecrire%2F

Can you help?

Georges


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


Fil

Thanks Fil,

Thanks to your pointer, I have managed to log in bypassing the bugged login page.

Now we will be able to consider upgrading from the neandertal :wink:

Thanks again

Georges

Quoting Fil <fil@rezo.net>:

Whoa this is *very* old. You need to upgrade. I think you had this specific
problem when an old login.html file was left on the server after a spip
upgrade, but I don't remember the details. In any case, please upgrade, your
site is at risk with many security bugs.

On Thu, Nov 25, 2010 at 10:40 PM, Georges <georges@cyme.org> wrote:

Hi,
Impossible to log to our magazine based on spip 1.73.

Login page is not displaying input password field anymore.

Please look at:
http://cyme.org/magazine/spip_login.php3?var_url=ecrire%2F

Can you help?

Georges

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

--
Fil

That's easy : just edit /prive/modeles/pagination_precedent_suivant.html and put in your images.

Something like <img src="mypath/myimage.jpg" /> or
rather <img src="#CHEMIN{myimage.jpg}" /> if your images are in the ./squelettes directory.

klaus++

Tereza Loparic wrote:

Thank you, Gilles! It works now. :smiley:

But I wish I could use some images instead of the texts "precedent" /
"suivant". It looks so difficult to me to edit
/prive/modeles/pagination_precedent_suivant.html, but maybe you
already knows how to do it?

thanks
tereza

On Wed, Nov 17, 2010 at 6:00 PM, Gilles VINCENT
<gilles.vincent@gmail.com> wrote:

Hi,

you have the solution in the model used to display the paginations :
/prive/modeles/pagination_precedent_suivant.html

it's used to display #PAGINATION{precedent_suivant}
(cf. doc : The Pagination System - SPIP)

.Gilles
--

On Wed, Nov 17, 2010 at 8:39 PM, Tereza Loparic <telopa@gmail.com> wrote:

Hi, all!

How can I have links like "previous" and "next"?

My rubrique shows just one article per time with {pagination 1}, that
gives me the navigation:
0 | 1 | 2 | 3

If I use #PAGINATION{page_precedent_suivant} gets like this:
1 | 2 | 3 | 4 | >

but I would prefer just:
previous | next

is that possible?

http://www.windhorsetattoo.com/spip.php?rubrique3&var_mode=calcul

Thank you in advance!
tereza
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

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

Actually you have to edit /prive/modeles/paginationitem.html and replace ENV*{texte} (line 4) with an image. But then, you need to differentiate between {texte=<:public:page_precedente:>} and {texte=<:public:page_suivante:>}in the criteria passed to this page by /prive/modeles/pagination_precedent_suivant.html.

George

Quoting klaus++ <klaus@spip.de>:

That's easy : just edit
/prive/modeles/pagination_precedent_suivant.html and put in your images.

Something like <img src="mypath/myimage.jpg" /> or
rather <img src="#CHEMIN{myimage.jpg}" /> if your images are in the
./squelettes directory.

#CHEMIN - SPIP

klaus++

Tereza Loparic wrote:

Thank you, Gilles! It works now. :smiley:

But I wish I could use some images instead of the texts "precedent" /
"suivant". It looks so difficult to me to edit
/prive/modeles/pagination_precedent_suivant.html, but maybe you
already knows how to do it?

thanks
tereza

On Wed, Nov 17, 2010 at 6:00 PM, Gilles VINCENT
<gilles.vincent@gmail.com> wrote:

Hi,

you have the solution in the model used to display the paginations :
/prive/modeles/pagination_precedent_suivant.html

it's used to display #PAGINATION{precedent_suivant}
(cf. doc : The Pagination System - SPIP)

.Gilles
--

On Wed, Nov 17, 2010 at 8:39 PM, Tereza Loparic <telopa@gmail.com> wrote:

Hi, all!

How can I have links like "previous" and "next"?

My rubrique shows just one article per time with {pagination 1}, that
gives me the navigation:
0 | 1 | 2 | 3

If I use #PAGINATION{page_precedent_suivant} gets like this:
1 | 2 | 3 | 4 | >

but I would prefer just:
previous | next

is that possible?

http://www.windhorsetattoo.com/spip.php?rubrique3&var_mode=calcul

Thank you in advance!
tereza
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

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

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

Thank you.
But how can I differentiate between the 2 images?

When I replace in /prive/modeles/paginationitem.html (#ENV*{texte}) by
<img src='/squelettes/img/bt_proxima.png' />, I get lots of caracteres
before and after the "next" image, like this:

[(2|=={1}|?{'',' '}) [ <image> ] ]

and nothing at all for the next page.

I also tryied replacing in /prive/modeles/pagination_precedent_suivant.html
{texte=<:public:page_precedente:>}
by
{texte=#CHEMIN{img/bt_proxima.png}}
, but it didn't work... :}

On Fri, Nov 26, 2010 at 8:24 AM, <george@middleeastwatch.net> wrote:

Actually you have to edit /prive/modeles/paginationitem.html and replace
ENV*{texte} (line 4) with an image. But then, you need to differentiate
between {texte=<:public:page_precedente:>} and
{texte=<:public:page_suivante:>}in the criteria passed to this page by
/prive/modeles/pagination_precedent_suivant.html.

George

Quoting klaus++ <klaus@spip.de>:

That's easy : just edit
/prive/modeles/pagination_precedent_suivant.html and put in your images.

Something like <img src="mypath/myimage.jpg" /> or
rather <img src="#CHEMIN{myimage.jpg}" /> if your images are in the
./squelettes directory.

#CHEMIN - SPIP

klaus++

Tereza Loparic wrote:

Thank you, Gilles! It works now. :smiley:

But I wish I could use some images instead of the texts "precedent" /
"suivant". It looks so difficult to me to edit
/prive/modeles/pagination_precedent_suivant.html, but maybe you
already knows how to do it?

thanks
tereza

On Wed, Nov 17, 2010 at 6:00 PM, Gilles VINCENT
<gilles.vincent@gmail.com> wrote:

Hi,

you have the solution in the model used to display the paginations :
/prive/modeles/pagination_precedent_suivant.html

it's used to display #PAGINATION{precedent_suivant}
(cf. doc : The Pagination System - SPIP)

.Gilles
--

On Wed, Nov 17, 2010 at 8:39 PM, Tereza Loparic <telopa@gmail.com>
wrote:

Hi, all!

How can I have links like "previous" and "next"?

My rubrique shows just one article per time with {pagination 1}, that
gives me the navigation:
0 | 1 | 2 | 3

If I use #PAGINATION{page_precedent_suivant} gets like this:
1 | 2 | 3 | 4 | >

but I would prefer just:
previous | next

is that possible?

http://www.windhorsetattoo.com/spip.php?rubrique3&var_mode=calcul

Thank you in advance!
tereza
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

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

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

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