This module alters the default search box in many ways. If you need to have options available like in advanced search, but directly in the search box, this module is for you.

Important

This module is now being co-maintained by jpontani..

Basic options

The module adds options to select:

  • which content type(s) to search,
  • which specific module search to use (node, help, user or any module that implements search),
  • advanced criteria

For all these choices, there are options to switch between a select box, checkboxes or radio buttons, and also customize the selector label and the default - Any - text.

Advanced options

There are also options to:

  • change the default search box label,
  • add a default text in the search box,
  • add advanced search criteria,
  • change the default submit button text,
  • use an image instead of the submit button,
  • change the order of all the elements,
  • include some elements in a popup block,
  • add a filter to the results page,
  • show/hide basic and/or advanced search in the results page,
  • show/hide meta data in the results page,
  • multiple search paths

Included submodules

  • Custom Search Taxonomy: taxonomy options for the search block
  • Custom Search Blocks: provides additional search blocks, with different settings
  • Custom Search Internationalization: search content from all or current language only, and all label and selectors translation handling

Integration

Basic integration with:

Finally, there's some javascript to:

  • check if the search box is not empty on submit,
  • clear the default text on focus, and put it back on blur (if search box is empty),
  • handle checkboxes (deselect some checkbox if -Any-, or a special module search, is checked),
  • reselect options in the advanced search options (in results page).

This module is inspired by some modules that implements some of these options (search_config, search_type, custom_search_box).

If you like this module, please Chipin!

Thanks to Tamarra Dull for the sponsor.

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.12 tar.gz (30.56 KB) | zip (44.34 KB) 2013-Apr-23 Notes
6.x-1.11 tar.gz (28.52 KB) | zip (41.31 KB) 2012-Sep-04 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (30.59 KB) | zip (44.37 KB) 2013-May-07 Notes
6.x-1.x-dev tar.gz (28.51 KB) | zip (41.33 KB) 2012-Dec-03 Notes

Project Information


Maintainers for Custom Search

  • jdanthinne - 354 commits
    last: 2 weeks ago, first: 3 years ago
  • jpontani - 3 commits
    last: 12 weeks ago, first: 24 weeks ago

Issues for Custom Search

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants