Gossamer Forum
Home : Products : Links 2.0 : Customization :

Ranged Search....

Quote Reply
Ranged Search....
Mmmm...I have been trying for a while to get the 'Ranged search' mod to work ( from http://www.gossamer-threads.com/...rces/jump.cgi?ID=602).

I have a page that i have set up at http://courier.ace-installer.com/...bin/links/search.cgi, which has the mod made to it. The problem is that it just isn't searching the fileds. For example, if I try and search the 'Town' box, it just returns to search.cgi, and doesn't report an error. However, if I type something into the 'query' box it works, or brings up an error saying there is no matching records.

Does anyone know why this may be?


I have all of the other code that needed adding, and the bit I have changed is below (from search.cgi);

# Display the form if called with no input.
# (keys %in <= 0) and &site_html_search_form() and return;
($in{'query'} or $in{'Town'} or $in{'Company_Name'}or $in{'Address'}) or &site_html_search_form and return;


It is probably just something really simple, but I am missing it (hey, its nearly 10PM over here in the UK, and I have had 2 exams today...Wink). Any help is much appreciated.

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: Ranged Search.... In reply to
Hi,

Glennu has created a new ranged search mod since then, check it out at his site:
http://cgi-resource.co.uk/pages/rsearch.shtml

Until next time...

Ryan

http://links.innovationstudios.com/
Quote Reply
Re: Ranged Search.... In reply to
Great! Thanks Smile The only problem is that I am trying to do a search on a text field, and not the rate's or votes.

Any ideas? I can't see another mod that looks like that!

Andy

webmaster@ace-installer.com
http://www.ace-installer.com