I'm trying to set up a number of resource databases within a site, which use fairly simple taxonomy (although this could be CCK fields if using views) to filter nodes of a certain content type. Views and taxonomy works great in creating a listings page and then filtering the listings by content type and for me this is a great way to display information. However my client requires a "Search" style, rather than filtering. The only differences that I really see are two-fold:
1) They would like the "Multiple select" that views gives for multiple values to instead be check boxes
2) Instead of a filter, they would like the exposed search criteria to then lead to a page of results, ie. The same, but on two pages instead of the one that views gives us.
As a direct example, we have case studies that are belonging to a country, and a theme. The user selects a country from the drop down (this is limited to one selection) and then the posibility to select multiple themes. On pressing the button on the form they are presented with a new page with the results (ie. the form has gone and only the results are left).
Is there one or more modules or code snippets that would allow me this kind of feature? I assume its the kind of functionality people want reasonably regularly but after searching for hours with no luck I thought I'd try to ask this lovely community :)
Thanks for any help,
Adam
Comments
Views Fast Search module
Download and install as normal module
then go to Lullabot.com and search "views fast search"
there is a tutorial there
Thanks Droople
I had seen this and it looks great, but I am really keen on developing this in Drupal 6 and none of the modules in that tutorial are supported in 6. They do mention that some elements of fast search made it into core, but that doesn't really help me in following the tutorial :)
Also views filter block which would give me something like I'm after, hasn't made it to 6...
I'll keep searching but if anyone knows something for what should be reasonably simple, it would be great as I'm a bit lost on how to work this one out!
Thanks,
Adam
There is such feature in
There is such feature in views UI which makes block with exposed filters for the view. You just need to set it to "on" on the view administer page. And after that go to the blocks page and enable the created block and configure that to display on pages you want.
http://webdruid.ru
I've done this before...
The problem is that it always puts the results of the filtering in the block itself, and not in a page. Therefore it doesn't achieve the functionality described above. I'm looking for someone to select the relevant categories, click search and then the page to arrive with the content requested - its that simple... or maybe it's not :)
Thanks for your help netbear.
Adam
May be I don't understand
May be I don't understand you clearly but what I did on my sites is:
1)create a view (page display) with neccessary filters
2)expose that filters
3)set the "Exposed form in block: Yes"
4)enable the created block with exposed filters on admin/build/blocks page
And what we have is block for search with some textfields or dropdowns and a button which when is submitted redirects user to page of my view with filtered content. Is that what you need?
Ah! Fantastic - actually I
Ah! Fantastic - actually I didn't understand - I was making the Block View, and then Exposing in the block, thus creating what I explained! Thanks netbear, keep finding great new thing out about views...
display results in block not page
hi. this was very helpful in getting search to work. thank you!
is it possible instead of returning the results onto a separate page, return them into a block on that page?
i have 2 columns on a search page. one shows all new users (content profile) and the other column allows user to search for users in content profile.
when i search i get a new page w/ results.
if i add the 1st column (all new users) to search results page through blocks admin, the search results appear below that block. i'd like them to appear in my right block on that new page.
is there anyway I can force the results into that right block ?
thanks in advance!!
div