#72: LiveSearch
- Proposed by
- Benjamin Saller
- Seconded by
- Alexander Limi
- Proposal type
- User interface
- Repository branch
- plip72-LiveSearch
- State
- completed
Motivation
With LiveSearch, Plone will never be the same. It is so fast to search for content that it almost makes the navigation tree obsolete.
Assumptions
We do not generalize this implementation such that its architecture can be reusde for different senarios. We just stick with the global search box.
Proposal
At this point we start with where Benjamin Saller left of in their svn repository. From there on we change and adjust it a bit to make it look better.
Things we have to do
- We have to add the proper scripts to deal with XMLRpc
- Create a proper UI for the drop-down list
- Modify the global search box
- Add the javascript to handle the XMLRpc calls
Implementation
We use XMLRpc to send back search strings and to display the immediate results.
Details:
- global_searchbox is changed to add the display layer
- livesearch.js and sarissa.js is added to give the functionality
- livesearch_reply.py is added to be called when results are needed
- plone.css was modified to hold the needed css styles
- header.pt loads the 2 new js files
Deliverables
- A modified global_searchbox
- backend search scripts
Participants
DannyB, MrTopf
Should be easy to turn off
We should investigate adding this to the JSRegistry, so it can easily be turned off for people that don't want it.