Multiple search fields/blocks

samchok - October 20, 2009 - 15:53

I'm using the search core module together with the search_config (http://drupal.org/project/search_config) module. The latter (also) adds possibility to exclude particular node types from the search.

Is it possible to have more than one search field/block per website?

I need to have a search field that only search for "news" content type, another one that only search for "associations" content type, and so on...

Thank you.

Try the Multiblock module.

ScoutBaker - October 21, 2009 - 05:53

Try the Multiblock module.

---
"Nice to meet you Rose...run for your life." - The Doctor
My first public Drupal site - EyeOnThe503

Thank you for your

samchok - October 21, 2009 - 07:26

Thank you for your suggestion.
I've created an instance of the "search form" block but I can't give it different settings because all the search setting (admin/settings/search) seems to be global.

Anyway, what I need to do is exactly what is already present in the drupal.org website: a search form is always present in the top-right corner of the website, but in the Modules page another search form is present and it only searches for modules.
That's exactly what I need to do.

 
 

Drupal is a registered trademark of Dries Buytaert.