Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Problem with Next and Prev

Quote Reply
Problem with Next and Prev
Hi!

I've a little problem with the Prev and Next-Option in the categories.html! Originally, the follwing code is used:
<%if prev%>
<small><a href="<%prev%>">Prev <%build_links_per_page></a></small>
<%endif%>
<%if next%>
<small><a href="<%next%>">Next <%build_links_per_page></a></small>
<%endif%>

I want to change it! For example: I have a category with 50 entries! Each page can show ten entries, so on the first page should be the following:
1 2 3 4 5 [Next >>]

If someone clicks on page two, the following should appear:
[<< Prev] 1 2 3 4 5 [Next >>]

Can someone change the upper originally code so that it works as I mentioned?

Please help me??

-Dan

Quote Reply
Re: Problem with Next and Prev In reply to
Altavista Span Pages linked in the Resource Center...

Thomas
http://links.japanref.com