Page 1 of 1

advanced search

Posted: Mon Sep 29, 2008 11:12 pm
by Krzyzak
Hello.
I would like to create advanced search form- I mean - searching by autor,by date,by category - not only simple searching by title.
Is it possible?

Posted: Tue Sep 30, 2008 3:45 pm
by judebert
Well, there's no plugin to do that right now. It's going to take some programming. If you're interested in taking a shot at it, you can check out the internal quicksearch plugin to see how it works.

The advanced search will need to add search controls (like the quicksearch plugin does) and use the inputs to create an SQL query (like the quicksearch plugin does).

It seems straightforward, but the existing search simply uses an SQL freetext search; if you want to add wildcards or boolean operations (to make it a truly "advanced" search), things will certainly become more difficult.

Posted: Tue Sep 30, 2008 6:46 pm
by garvinhicking
Hi!

The serendipity_event_customarchive allows you to do some advanced category/author selection, maybe that helps? Like judebert mentions, it's a bit different than an advanced search, but not THAT different *g*

HTH,
Garvin