Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
Live Search aims to provide Drupal's search module a live search functionality through Ajax and to degrade gracefully to a normal search box when the user has JavaScript turned off. It has the following features:
- Choice between theme-provided or module-provided search box. Live Search builds upon an existing search box. Most themes provide their own search box, and the search module itself also provides a search block. You can choose which search box to enable live search functionality on.
- Compact search box. This enables the search box to behave in a more Apple style, such as the lack of the "Search" button, with the "Search" phrase embedded in the text field itself.
- Ajax request firing delay. To save bandwith and ease server loads, an Ajax search request is fired, by default, after the user stops typing the keyword for 1250 milliseconds.
- Snippet and node info hiding. To save screen real estate, you can opt to hide the snippets (excerpts), the node info (showing various information such as node type, author, and date), or both.
Live Search fully utilizes Drupal's built-in jQuery JavaScript library.
Note:
- Live Search itself does not do any searching. It depends on the built-in Search module to do it. Any issues or concern regarding search keyword, search syntax, or search results styling / theming belong to Search, not Live Search.
- Without some customization on theming, Live Search may break your page layout if your search box is not placed on a sidebar unless you specify a custom element for search results. For example, Garland will not break but Bluemarine probably will.
Project information
- Module categories: Developer Tools, Site Search
- Created by al on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.