LiveSearchWidget (1.1.3)
- LiveSearchWidget download link: http://plone.org/products/livesearchwidget/releases
- Homepage of LiveSearchWidget: http://plone.org/products/livesearchwidget
- Description source: http://www.goldmund-wyldebeast-wunderliebe.com/products/livesearchwidget
Introduction
The LiveSearchWidget is a widget that can be used for a referencefield. This widget (in edit mode) will let you search for objects in a livesearch way that is very similar to the plone livesearch functionality.
The search is performed using a standard catalog search, on the index "SearchableText".
This widget was put together using exising code from plone's livesearch together with a little bit from ATReferenceBrowserWidget code. By copying the plone livesearch stuff, we think this widget will be quite solid on most modern browsers.
Prerequisites
- Plone 2.5 (???)
- InstallUtils (http://www.goldmund-wyldebeast-wunderliebe.com/products)
- Archetypes
- ATReferenceBrowserWidget
Installation
Install the product using the quick_installer.
Known limitations
- field needs to be a referencefield
- field needs allowed_types property with only 1 element (e.g. allowed_types=('Document',) )
- vocabulary not supported. This is something that needs some work. Suggestions are more than welcome
workaround: as a hacked workaround you can create a script with the name "getExtraLiveSearchArgs" which takes "field" as a parameter. Whatever this script returns will be added to the catalog search with index "SearchableText" (e.g. return "beer*) will search for any word(s) you type + "beer*"