Changeset [155373e175d37f8d0c26cc1112dc76fbfa1cdaca] by dleffler

December 17th, 2011 @ 06:33 PM

Adds phrase highlighting to returned search results. Does this by new 'highlight' smarty modifier (color hard-coded at this point). Also includes a new 'html_substr' smarty modifier which can be used to truncate html code and preserve tags including closing ones. [#433]
https://github.com/exponentcms/exponent-cms/commit/155373e175d37f8d...

Committed by dleffler

  • A framework/plugins/modifier.highlight.php
  • A framework/plugins/modifier.html_substr.php
  • M framework/modules/search/views/search/search.tpl
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Bug Tracker for Exponent CMS

Shared Ticket Bins