Gossamer Forum
Home : Products : Links 2.0 : Customization :

Problems with the search!

Quote Reply
Problems with the search!
Well the problem is:
when i search for i.e news
It say - Your search for news returned 0 categories and 4 Links.
but no links are coming up.
And if i search for Games I get:
Your search for Games returned 4 categories and 13 Links.
The catagories are as urls but no links to the sites.

I have upploaded newtemplates and different templates, original cgi directly from the original zip... Nothing...

What is up?
somebody?

Quote Reply
Re: Problems with the search! In reply to
Hi,

Make sure in your search_results.html, all the tags are in separate lines.

Example:

<p>Your search returned <strong>
<%cat_hits%></strong> categories and <strong>
<%link_hits%></strong> Links.</p>

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

<%if category_results%>
<h2>Categories:</h2>
<ul><%category_results%></ul>
<%endif%>

<%if link_results%>
<h2>Links</h2>
<%link_results%>
<%endif%>

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



I hope this will help.


Regards,

Pagla