Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Category search...

Quote Reply
Category search...
I have just come across a problem. I'm trying to add the option to search only a select category. I tried the following (not in the HTML, but this is what it equates to in the search);

search.cgi?query=in&category=9&bool=and&substring=0
search.cgi?query=in&category=Test&bool=and&substring=0

But it doesn't seem to be working. Am I using the wrong option paramater to call the category name in the query?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Category search... In reply to
Try catid=9

You can see how it works on any category page where you see the search option for "search this category"
Quote Reply
Re: [Paul] Category search... In reply to
Bang on..works a charm...

Cheers Smile

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Post deleted by DogTags In reply to
Quote Reply
Re: [Andy] Category search... In reply to
Weird. Doesn't seem to work now in 2.1.2 Frown

http://www.ace-host.com/search.cgi?query=&catid=12

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!