Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
Products
:
Gossamer Links
:
Development, Plugins and Globals
:
Pluggin before search.
Previous Thread
Next Thread
Print Thread
View Threaded
Oct 18, 2001, 7:35 PM
Beck
User
(185 posts)
Oct 18, 2001, 7:35 PM
Post #1 of 4
Views: 2649
Shortcut
Pluggin before search.
Hi all,
How can I add this condition:
CatId in (1,2,3,4) before the query function.
Thanks as always,
Beck
Oct 22, 2001, 9:57 AM
Alex
Administrator
(9387 posts)
Oct 22, 2001, 9:57 AM
Post #2 of 4
Views: 2532
Shortcut
Re: [Beck] Pluggin before search.
In reply to
Hi,
Not easily, look at admin/User/Search.pm to see how it does it. It needs to pass in a callback function. That function will get a list of results the search index matched, it's then up to the function to filter out the results that are not needed.
Hope this helps,
Alex
--
Gossamer Threads
Inc.
Oct 28, 2001, 6:49 PM
Beck
User
(185 posts)
Oct 28, 2001, 6:49 PM
Post #3 of 4
Views: 2503
Shortcut
Re: [Alex] Pluggin before search.
In reply to
Hi Alex,
How can I put a callback function for searching in a group of Categories?
Cheers,
Beck
Oct 29, 2001, 11:37 AM
Alex
Administrator
(9387 posts)
Oct 29, 2001, 11:37 AM
Post #4 of 4
Views: 2497
Shortcut
Re: [Beck] Pluggin before search.
In reply to
Hi,
Can you expand a bit on what you are doing? I'm not sure I understand.
Cheers,
Alex
--
Gossamer Threads
Inc.
Previous Thread
Next Thread
Print Thread
View Threaded