Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-11-14 08:25:47
- ultramega
- Member
- Registered: 2006-02-26
- Posts: 221
Search result expcert- amount of displayed text
I know it’s possible to limit how many times searched word is displayed in search result expcerts. But could I somehow limit the amount of all words displayed in expcerts? For example two before and two after the searched word?
Expcerts sure are usefull but they are breaking my layout too :)
Last edited by ultramega (2007-11-14 08:27:19)
Offline
Re: Search result expcert- amount of displayed text
The amount of search context is not determinable by attributes or tags.
We take up to 50 characters surrounding the search term to build the search excerpt. You might want to change that regular expression to a more convenient value if you accept the disadvantages of a non-standard Textpattern instance.
Offline
#3 2007-11-14 14:49:24
- ultramega
- Member
- Registered: 2006-02-26
- Posts: 221
Re: Search result expcert- amount of displayed text
Ok, thanks for this info.
Offline