Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Page Spanning

Quote Reply
Page Spanning
I have a dumb question. I have set the page spanning to 25 this part works perfectly. However that's all that I get. 25 links. I don't have the span forward or back at the bottom of the page to allow the visitor to look at the rest of the links.

Did I not do something that I was supposed to?

Thanks in Advance.

Dan O

You can see what I mean right here:
http://www.associatecash.com/sqlpages/Shopping/

There is supposed to be 66 links in this category.
Quote Reply
Re: Page Spanning In reply to
You need to have these tags in the templates:

Code:

<!-- Next/Previous links if spanning pages. -->
<%if prev%>
<P>
<font size="2" face="Arial,Helvetica"><a href="<%prev%>">Prev <%build_links_per_page%></a>
<%endif%>
<%if next%>
<a href="<%next%>">Next <%build_links_per_page%></a></font>
</P>
<%endif%>

One thing to do if output doesn't look right, is look at the default template set, or to use page.cgi?t=default (if you put the default template set into the subdirectory default). It can help you isolate template bugs vs program bugs.

Check out:

http://www.associatecash.com/...%2F&t=av&d=1



------------------
POSTCARDS.COM -- Everything Postcards on the Internet www.postcards.com
LinkSQL FAQ: www.postcards.com/FAQ/LinkSQL/









Quote Reply
Re: Page Spanning In reply to
Thank You PugDog! I really appreciate the help.

Dan O