Views Search Function

Painfull - September 2, 2009 - 13:39

Hey Guys and Girls,

I have this problem, which is that I have to create a search function for a dating website.

Seeming as how Views is such a complex module I thought maybe I can create it with that.

Seeming how users will give certain information about themselfs in the website I thought I might be able to make them "link" to each other.

After the information has "linked" with each other users would be able to use a few drop downboxes and inside the drop downboxes there will be the information other users use to describe themselfs with.

I was wondering if anyone has any tutorials for this kind of activity or an example, because I am new at Views and can't see the tree through the forest (so to speak).

If anyone has an idea for a module which might be better suited for this kind of activity I am happy to switch.

Thanks in advance,
Painfull.

Love the username,

chrisshattuck - September 2, 2009 - 18:37

Love the username, Painfull!

There's going to be a few options for you, so I'll try to point you in the right direction.

You will probably want to explore the Hierarchical Select module, as well as Faceted Search. The first is more of a selector which you can use to allow users to selection options from nested data, while the second can be used for filtering with Drupal's Search API. The choices you make will be more along the lines of how you structure the data. You could use Taxonomy / Categories, the Profile module or CCK with Bio. I think once you play with Faceted search (here's a demo: http://facetedsearch.davidlesieur.com/) you'll get a feel for where you need to go.

Views could work for a simplified version of this, but I don't believe it allows the kind of drill-down you'd find in Faceted Search.

Good luck!

Cheers,
Chris Shattuck

Speedy Drupal development training

Cheers,
Chris

Build a Module.com - The definitive video guide to Drupal development

Thanks

Painfull - September 3, 2009 - 13:44

First of all thanks to you Chris for the fast response and the suggestions you have given.

I have the modules installed and got them working but the problem is I can't seem to get the search page I generate to look like how I want it to do.

The way I want the search function to look like is kinda like this site : http://www.muslimfriends.com/ but can't seem to get the search to look like anything else than the default view.

Maybe I am overlooking something or am totally barking up the wrong tree here, but it shouldn't be hard to make a search "bar" to look like the one on the website now should it.

Hopefully someone can help me out in the right direction before I get lost in the total wrong direction.

Thanks in advance for any suggestion..

Painfull.

 
 

Drupal is a registered trademark of Dries Buytaert.