README.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Custom search 7.x-1.x
  2. --------------------------
  3. Install
  4. -------
  5. * Enable the module
  6. * Go to Configuration > Search And Metadata > Custom Search (admin/config/search/custom_search) to change settings
  7. * Don't forget to set permissions, otherwise nobody will see the changes
  8. Description
  9. -----------
  10. This module alters the default search box in many ways.
  11. If you need to have options available like in advanced search,
  12. but directly in the search box, this module is for you.
  13. The module adds options to select:
  14. - which content type(s) to search,
  15. - which specific module search to use
  16. (node, help, user or any module that implements search),
  17. - which taxonomy term to search in the results (by vocabulary).
  18. - For all these choices, there are options to switch between a select box,
  19. checkboxes or radio buttons, and also customize the selector
  20. label and the default - Any - text.
  21. There are also options to:
  22. - change the default search box label,
  23. - adds a default text in the search box,
  24. - change the default submit button text,
  25. - use an image instead of the submit button,
  26. - via a "tabledrag", the ordering of all the added options can be changed.
  27. Finally, there's some javascript to:
  28. - check if the search box is not empty on submit,
  29. - clear the default text on focus, and put it back on blur
  30. (if search box is empty),
  31. - handle checkboxes (deselect some checkbox if -Any-,
  32. or a special module search, is checked),
  33. - reselect options in the advanced search options (in results page).
  34. The module integrates well with Internationalization (i18n_string).
  35. This module is inspired by some modules that implements some of these options
  36. (search_config, search_type, custom_seach_box).
  37. Author
  38. ------
  39. jdanthinne