Loading...
 
Skip to main content

allow admin to define the length of the returned search snippet

Status
Pending
Subject
allow admin to define the length of the returned search snippet
Version
2.x
3.x
Category
  • Feature request
Feature
Search
Resolution status
New
Submitted by
Rick Sapir / Tiki for Smarties
Lastmod by
Rick Sapir / Tiki for Smarties
Rating
(0)
Description
Currently, the length of the search result snippet is hard-coded to 250 characters (in searchlib.php). it would be nice if this could be defined by the admin as part of the search preferences.
Solution
  1. Create new preference for the search snippet length (default to 250).
  2. Change the searchlib.php to use the new preference.


Need to included error checking (minimum and maximum values).

Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2101
Created
Monday 27 October, 2008 13:39:50 UTC
by Unknown
LastModif
Monday 27 October, 2008 13:39:50 UTC


Show PHP error messages