I have setup a site using Drupal 6 (www.bowlmidlands.org). The site has a lot of content which is pulled from an external database. I am trying to figure out how to extend the drupal search to also search certain fields in the external database. Does anyone have any suggestions on where to start?

Thanks

Comments

lenkkivihko’s picture

google. Drupal's indexing is extendable (at least within drupal installation). In your case it must be a bit more complicated. But perhaps good place to start is to understand the hooks to extend search.

http://api.drupal.org/api/function/hook_search/5

chucks0’s picture

Rather than hooking the built in search, is it possible to create a custom search block which calls my search as well as the built in drupal search?

chucks0’s picture

I have successfully used hook_search and get the results on a separate tab in the search results. Now I would like the results to be on the same page as the regular drupal search results. I am having a problem finding out how to do this. Any suggestions.

swarna.p’s picture

can you please let me know what was the solution you have tried to get the search results on seperate tabs ? as i am looking for the same and did not find any suitable solution.

tnfno’s picture

Did you ever solve this? I need to do the exact same thing.