PloneSearchBox

› Simple file attachment for Plone ‹

What's PloneSearchBox ? | How does it work ? | Is it compatible with... | Download | Screenshots | FAQ | Links | Contact

 

What's PloneSearchBox ?

 

How does it work ?

portal_searchbox

The search engine.name and url can be configured in the Zmi. The used format is : Name;http://website.com?argName=%(argument)s Name is what will appear in the combobox. The url will be parsed to replace %(argument)s by the value entered by the user on form submit. If there are several argName=%(argument)s, the form will automatically have as many fields and argument will become the label of the field. This is done in javascript and the page is not reloaded.

For single input forms : use %(text)s as pattern to have a input field without label or use a pattern different than %(text)s, for ex %(mylabel)s, to see mylabel as a label for your input field. Use '#' to set a line as comment.

 

Is it compatible with...
  • CMF ? No.
  • Plone 1.0.5 ? Yes.
  • Plone 2.0 ? Yes.
  • My existing Plone instance ? Yes.

 

Download

PloneSearchBox is shipped as a tarball for Plone. See The Ingeniweb Projects for more information.

Official releases

Releases are now hosted by SourceForge. The latest release can always be found here .

  • 2.0Beta1 (2004/01/06) : Compatible Plone 2 and Plone 1.
  • 1.2 (2003/12/23) : i18n catalog. Choose the label of your input field or remove them. Add comment in your searchbox_tool list of engine with '#'. More default engines. View the search result in the same site. Keyword are kept in memory when search is done in an other window.
  • 1.0 (2003/08/06) : PloneSearchBox initial product.

CVS

You can checkout the CVS anonymously with the following commands:

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ingeniweb login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ingeniweb co PloneSearchBox

You can browse CVS at Sourceforge .

 

Screenshots

Here comes a few screenshots of PloneSearchBox.

configuration screen of portal search_box
The edit form of portal searchbox.

PloneSearchBox
The view of a PloneSearchBox.

PloneSearchBox
A generated complex form.

 

Frequently Asked Questions

  • How can I change the websearch engines list ?
    In the Zmi, go in the portal_searchbox tool. There is a textarea in the configure panel where line can be added.
  • How can I remove the local site search or the rubric search ?
    In the Zmi, go in the portal_searchbox tool. There are 2 checkbox.
  • Can i use some more complicated forms ?
    Yes the form is generated from the pattern given in the zmi. The pattern is url-like but it contains expression that will be replaced. For example : http://website.com?arg=%(argValue)s&arg2=%(argValue2)s&tranlate=fr Only %(argValue)s and %(argValue2)s will be replaced by what the user is entering in the form.

 

Links

Here are some links of interest regarding PloneSearchBox or other assorted tools.

 

Last modified: Tue Jan 06 12:30:57 GMT 2004