Gossamer Forum
Home : Products : Links 2.0 : Customization :

Problems with Prev/Next-Links

Quote Reply
Problems with Prev/Next-Links
Hello to all,
i have this problem: I dont know what i do to generate the Next/Prev-Pages-Links.
This is my code, but nothing happens:
After the 10th link, the script stops and the pages ends.
Note: I am using Dreamweaver3 and must always edit the gossamer-pages manually... :-(

Now here is my code:

<p><font face="Verdana, Arial, Helvetica" size="2">
<!-- Subcategories-->
<%if category%>
</font>
<h2>Categories:</h2>
<%category%>
<%endif%>
<!-- Links in this category. -->
<%if links%>
<h2>Links: </h2>
<%links%>
<%endif%>
<!-- Next/Previous links if spanning pages. -->
<p align=center>
<%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%> </p>
<!-- Related Categories -->
<%if related%>
<h2>Related Categories:</h2>
<ul>
<%related%>
</ul>
<%endif%>



Greetings from germany,

COyu

P.S.: Can I rename "Prev" and/or "Next" without having Problems? I want to translate them into germany.

[This message has been edited by Coyu (edited March 25, 2000).]
Quote Reply
Re: Problems with Prev/Next-Links In reply to
I know there are at least two span pages mods, and I'm guessing you're using a different one than I used... Anyway, here's the way the span pages part looks in the mod I used successfully:

<!-- More Pages -->
<center>
<%if more_cat_pages%>
<%more_cat_pages%>
<%endif%>
</center>

Quite a bit different than yours! Smile
Quote:
Can I rename "Prev" and/or "Next" without having Problems?
Assuming you're talking about the HTML text part, not the Links tag, then yes, do whatever you want with it.

The mod I used is located at:
http://www.gossamer-threads.com/...um3/HTML/002214.html

From what I read of the better known mod, this one is much more functional.

Dan