Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Search in related categories

Quote Reply
Search in related categories
Hello! Is it possible to have the "Search this category" feature to include related categories?

Example:

There's a category called Transportation > Automobiles

And there is another category called Business > Shipping

Suppose that Shipping is a related category under Automobiles.

Is it possible to modify Search.pm to include Shipping when I specifically search the Automobiles Category? Therefore what would happen is that if there is a query match inside Business > Shipping, its category and links results are also included.

I hope my question was clear enough. Thanks.
Quote Reply
Re: [sensodyne] Search in related categories In reply to
Hi, is this still possible at all? Any help? Thanks.
Quote Reply
Re: [sensodyne] Search in related categories In reply to
You'd need to ask Alex. The actual internals of the search routines are a big black box that few have dared to look into <G>


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Search in related categories In reply to
hi,

this is very important for me to....alex...do you have a solution ?
got this situation...

got a category named "automobiles". in this categories are two related categories....
lets say BMW and Mercedes....

i whant let the users now search "only in this category/subcats" + all the related categories (BMW & Mercedes)

heeelp ! Wink

Last edited by:

alecs: Jul 14, 2005, 7:18 AM
Quote Reply
Re: [alecs] Search in related categories In reply to
The relevant file is admin/Links/User/Search.pm (at least in version 2.*)
As far as I can see, it would not be easy to use a plugin to change the category searches - so you would have to modify the core code or use a plugin instead of the whole file.