Search Highlight Module

Just put together a Drupal (4.7) module that highlights search term results in nodes. From the readme file:

This module creates a link on search results pages and if highlighting is enabled for the field (check your input types), it will search and replace the search term in that field with an admin defined string

1) activate "search_highlight" module in admin > modules
2) add the filter to input formats admin > input formats
3) customize highlighting admin > settings > search_highlight (optional)

You can download it here.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options