Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

12 links..no next button...What Gives?

Quote Reply
12 links..no next button...What Gives?
Hello,

As the subject implies I have 12 links in a category but cannot access the other two. Howcome?

www.washroomwall.com/CGI-BIN/links/pages/Computers_and_Internet

Stumped

Mic
Quote Reply
Re: 12 links..no next button...What Gives? In reply to
Are you using templates or non-templates? If templates, make sure you have this code in your category.html template file:

Code:
<!-- 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>

If you are not using templates, make sure that the following code is correct in sub site_html_category of site_html.pl:

Code:
if ($prev or $next) { $output .= qq~<p>~; }
if ($prev) { $output .= qq~<strong><a href="$prev">Prev $build_links_per_page</a></strong> ~; }
if ($next) { $output .= qq~<strong><a href="$next">Next $build_links_per_page</a></strong> ~; }
if ($prev or $next) { $output .= qq~</p>~; }

I hope this helps.
Quote Reply
Re: 12 links..no next button...What Gives? In reply to
That did help,

thank you very muchly.


Mic