Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Absolutely FRUSTRATED!

Quote Reply
Absolutely FRUSTRATED!
 
I have looked & relooked, and cant figure out what is going on..

My pages display 10 search results, as this is how i have it configured in links.cfg $build_span_pages = 1;

# Number of links per page.
$build_links_per_page = 10;




I have 15 links in my catagory, yet the catagory displays only 10 (NORMAL) and does not display the SPANNING OPTION ( Next>> )

So people can never see the next results..


Please, i have looked & relooked,.. My search_results.html contains the following:

<%if next%>
<p>Pages: <%next%></p>
<%endif%>


Which i beleive is supposed to pull the info.. Im totally lost now..

Jeff


Quote Reply
Re: Absolutely FRUSTRATED! In reply to
hi conan,

$build_span_pages = 1;

have nothing to do with search option Wink
option only for HTML categories.

open your search.cgi(.pl) and look there for

Quote:
# Set maximum hits -- default to 25.
local $maxhits = 25; ### set this to 10
if ($in{'mh'} && (($in{'mh'} == 10) &#0124; &#0124; ($in{'mh'} == 25) &#0124; &#0124; ($in{'mh'} == 50) &#0124; &#0124; ($in{'mh'} = 100))) {
$maxhits = $in{'mh'};

------------------
ciao
Nicky
mse.nicky.net




Quote Reply
Re: Absolutely FRUSTRATED! In reply to
Well Nicky, that half way fixes the problem..
Yes, now when doing a SEARCH the "span" option is working..

Now, when a person clicks on a catagory that is holding lets say 50 links, it only displays 10, and does not give them the option to scroll to the next page..

help Frown
Quote Reply
Re: Absolutely FRUSTRATED! In reply to
hi again,

post your url .

because i think you talking about 2 things Wink

------------------
ciao
Nicky
mse.nicky.net




Quote Reply
Re: Absolutely FRUSTRATED! In reply to
  We want it to display only 10 links, and give the option of going to the next page and seeing the next 10 links..

Is this possible?



[This message has been edited by Conan (edited November 24, 1999).]
Quote Reply
Re: Absolutely FRUSTRATED! In reply to
hi,

well Wink

put after
<!-- Next/Previous links if spanning pages. -->
this
Quote:
<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>

here is my own

Quote:
<%if prev%>
<a href="<%prev%>"><font face="Tahoma,Arial,Helvetica" size="-1"><b>Vorige Seite</b></font></a>
<%endif%>
<%if next%>
<a href="<%next%>"><font face="Tahoma,Arial,Helvetica" size="-1"><b>Nächste Seite</b></font></a>
<%endif%>

------------------
ciao
Nicky
mse.nicky.net






[This message has been edited by Nicky (edited November 23, 1999).]
Quote Reply
Re: Absolutely FRUSTRATED! In reply to
In what file?
Quote Reply
Re: Absolutely FRUSTRATED! In reply to
ok, i found it in "catagory.html", but i already have that info there....

<!-- Next/Previous links if spanning pages. -->
<%if prev%>
</font></font><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>
<%endif%>


What next..
Quote Reply
Re: Absolutely FRUSTRATED! In reply to
<!-- Next/Previous links if spanning pages. -->
<%if prev%>
<a href="<%prev%>">Prev <%build_links_per_page%></a>
<%endif%>
<%if next%>
<a href="<%next%>">Next <%build_links_per_page%></a>
<%endif%> <br><BR>
<font face="Arial,Helvetica" size="-1"><%category%>
<%endif%>
<P>
the importance is the spaces and keep the
<%endif%>
<%if next%>
on there own lines
Quote Reply
Re: Absolutely FRUSTRATED! In reply to
 Wink

the problem is solved,
error was in the site_html_templates.pl
he missed

prev => $prev,
next => $next,


------------------
ciao
Nicky
mse.nicky.net