Hi,

I was wondering if Views2 could be used to override the search results in Version 6 of Drupal? I tried to add tabs to the search page, however the content wasn't filtering by the initial search term entered. Views Fast Search isn't ported to D6, is there another way around this? Ideally what I would like to do is add a tab for specific Content Types so users can select a tab which would filter content by content type. I am not using advanced search. Anyway suggestions would be greatly appreciated.

Comments

merlinofchaos’s picture

Status: Active » Fixed

Views 2 cannot override the search results pages.

Views fast search has been integrated into Views 2, so there is no need for the module in Drupal 6. What you can do is create a view that includes a search, expose the filter as a block, and use that in place of the core search block. You may need to do some theme integration work to use the views block if the search widget is specially placed in the theme, though.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

liquidcms’s picture

Version: 6.x-2.1 » 6.x-2.7
Component: Views Data » search data
Status: Closed (fixed) » Active

hate to re-open.. but still same question

perhaps i am missing something but not sure how Views integrates views fast search. is this the exposed Search Terms filter?

hope not, cus i don't think that quite works as drupal search does (which i think views fast search did)

if i have a node of type Booking with title Test1 and i have a noderef field in Test1 of title "fubar". in Drupal search if i search on "fubar" it will find Test1.

if i set up a view to list nodes of type Booking and i add Search Terms exposed filter - and search on "fubar" - no nodes are returned.

liquidcms’s picture

Status: Active » Closed (fixed)

ok, perhaps i mis-spoke.. was sure drupal search worked; but now it seems as though it doesn't either .. i.e. it doesn't index title of noderef fields

so couldn't expect Views search to work.. i'll post issue to CCK.