Search Summary

Developer

Easy Designs, LLC - Aaron Gustafson

3rd Party (Free)

MIT License

EE Version Support

  • ExpressionEngine 1.x
  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

Creates truncated search summaries that isolate searched keywords, highlighting them as well.

To create nice search summaries, use the following syntax:

{exp:easy_search_summary hash="{segment_2}"}{content_body}{/exp:easy_search_summary}

 
Where {segment_2} is the search hash in the URL.

By default, the plugin uses HTML5 <mark> elements to wrap the keywords found. You can override that by setting the html version:

{exp:easy_search_summary hash="{segment_2}" html_version="4"}{content_body}{/exp:easy_search_summary}

 
By default, each found keyword is also classified as a “term,” but you can define your own class as well:

{exp:easy_search_summary hash="{segment_2}" highlight_class="found"}{content_body}{/exp:easy_search_summary}

You can also define (in order of priority) up to 10 alternate fields you’d like to summarize if a match isn’t found in the primary tag:

{exp:easy_search_summary hash="{segment_2}" alternate_1="{content_sidebar}" alternate_2="{content_footer}"}{content_body}{/exp:easy_search_summary}

Search Summary Links

This entry was created February 23, 2011, 12:44 pm.
This entry was last updated June 8, 2011, 12:50 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

1 Review:

Derek Hogue 01.30.13

Rating - {addon_rating_average}

Just tried a few other search highlighters, none work properly with EE 2.5.5. Aaron’s got it done immediately, and with aplomb.