Skip to main content

Search extension for Silva CMS

Project description

Silva Find is an extension for Silva to allow easy creation of search forms and result pages, both for users of the public site and for authors in the SMI.

Authors can add a Silva Find object anywhere and define which fields to make searchable by end users of the public site, and/or which fields to limit to a preset value. Authors also can determine which fields should be displayed in the search results. All metadata set/fields are supported.

By default all possible custom search criterion fields and result fields are available in the SMI. Besides that, the elements of all metadata sets are also available as result fields. If these fields are indexed in the catalog, they can also be used as search criterion fields. All available fields can be enabled/disabled in the SMI.

Besides this behavior, SilvaFind also allows you to manually override the list of search criteria.

Code repository

You can find the code of this extension in Git:


3.0.4 (2013/12/16)

  • Improve edit page markup.

  • Mark service invisible as it doesn’t provide any settings.

3.0.3 (2013/10/08)

  • Update tests to be ran inside a transaction to ensure the last author is properly set.

  • Compatibility fix with version object.

  • Update content and service icons.

3.0.2 (2013/05/24)

  • Automatically include search CSS in the public view.

3.0.1 (2013/03/06)

  • Update Silva XML import and export API.

3.0 (2012/12/11)

  • Improve tests.

3.0c1 (2012/09/25)

  • Update API to Silva 3.0c1.

  • Fix bugs.

  • Improve tests.

3.0b1 (2011/11/11)

  • Update for Zope 2.13 and Python 2.7.

  • Update SMI interface to work with silva.ui.

1.3 (2010/10/18)

  • Finish XML import/export to properly work even for path criterion.

  • Remove useless code duplication.

  • Use silva.captcha instead of custom batch implementation.

  • Refactor criterion and results widgets.

  • Add test for criterion and results widgets, and for XML import/export.

  • Refactor functional tests.

1.3b1 (2010/07/16)

  • Add an XML import/export handler.

  • service_find is now an utility.

  • Use zeam.form instead of z3c.form as an add form.

  • Use a reference to map the starting folder for the search.

  • Update code for Zope 2.12 and Python 2.6.

1.2 (2010-03-31)

  • Fix search bug.

  • Fix installation and configure addables.

1.2b2 (2010-02-08)

  • Fix bug for catalog query using non-selected fields.

1.2b1 (2010-02-01)

  • Add validation on the edit screen so that the user enter at least one search criteria.

  • Fix for Dutch translations.

  • Fix SilvaFind under Silva 2.2: fix invalid search arguments set on Find objects when you edit find settings.

  • Fix translation issues which breaks search in other languages than english.

  • Do not search by default, you need to click on the Search button.

  • Refactor add-form, public view, product installation.

  • Use zope.component instead of

1.1.7 (2008-11-04)

  • Fix metatype selector.

1.1.6 (2008-10-29)

  • Fix tests.

  • Redo the render_helper page template for inputs.

1.1.5 (2008-10-02)

  • Reformating the documentation to valid ReST.


Features added:

  • SilvaFind does not add a default search instance inside the service_find directory anymore. This was only being used by the dlcms, which will add it anyway, if it’s not there.

1.1.3 (2008/03/03)


  • SilvaFind is now using Silva 2.0 zcml extension registration. From this version forward this product will not work in Silva 1.6 or lower.

  • Changed product to work with Silva 2.1 zcml extension registration.

Bugs Fixed:

  • metatypecriterion used all types when no selection was made in SMI, it should have used all available types instead since this could be overwritten with an adapter.



  • i18n readied for Silva 2.0+.

  • Changed product to work with Silva 2.1 zcml extension registration.


  • metatypecriterion allows for list values.

  • Some code refactoring in MetatypeCriterionView, so it’s easier to override.

  • Changed the line and border colors in the public view from green to gray and removed a green background so it’s less likely that the SilvaFind colors will conflict with a user’s site design.

  • Empty searches show nothing instead of everything.

Bugs Fixed:

  • Removed hardcoded Silva Document checks in favor of IVersion interfaces.

  • KeyError for meta_type when doing empty searches.

  • SilvaFind search was searching on all “search content” fields, and ignoring the checkboxes.


Bugs Fixed:

  • Getting path criterion value from request failed because paths in the catalog can’t have unicode characters.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Products.SilvaFind-3.0.4.tar.gz (203.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page