EE 1
EE 2
Search Summary
Developer
3rd Party (Free)
Compatibility
- LG Addon Updater
- Multi Site Manager
- Stand Alone Entry Form
Requirements
- jQuery for the Control Panel
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 last updated June 8, 2011, 11:50 am.
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!
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!