Skip to main content

Plone search results through flexigrid

Project description

vs.flexigridsearch

vs.flexigridsearch provides a drop-in replacement to the search.pt template of Plone 3/4. The search results are presented as a sortable table using the jQuery flexigrid plugin.

Installation

  • add vs.flexigridsearch to the eggs option of your buildout configuration and re-run buildout

  • create a new Plone site using the related Plone3 or Plone 4 extension profile of vs.flexigridsearch

  • or import the related profile for an existing Plone site through portal_setup (Import tab) (there are dedicatd profiles for Plone 3 and Plone 4 since we need different flexigrid versions due to different jQuery versions in Plone 3 and 4).

Usage

  • no special usage: perform a search and the result should be rendered using the flexgrid jQuery add-on.

Configuration

  • vs.flexigridsearch uses a property sheet under portal_properties/flexigridsearch_properties for its configuration:

    • portalTypesToSearch - a list of portal types to be searched (a future version of the software will use the configuration of Plone)

    • sort_limit - maximum number of hits to be retrieved from portal_catalog. The parameter name is kind of misleading but the portal_catalog will really limit the number of returned rows

    • columns - defines the columns of the flexigrid table. In general vs.flexigridsearch can support all searchable indexes of the portal_catalog:

      • getId (this should be always included if you want a clickable link to the content object)

      • Description

      • Title

      • created

      • Creator

      • start

      • end

      • effective

      • expires

      • location

      • Subject

      • getObjSize

      • review_state

      • portal_type

Requirements

  • tested with Plone 3.3.X, 4.0.X

Translations

Due to the lack of a proper i18n framework in Plone we provide our own home-grown i18n translation functionality in skins/vs_flexigridsearch/vs_flexigridsearch_translations.js. Please add your translations directly here.

Licence

vs.flexigridsearch is published under the GNU Public Licence V 2 (GPL 2)

Authors

Andreas Jung
www.zopyx.com

Veit Schiele
www.veit-schiele.de

Changelog

0.4.1 (2011/05/24)

  • more robust parsing of configuration properties

  • updated documentation

0.4.0 (2011/05/23)

  • i18n for templates and JS code (English, German)

0.3.1 (2011/05/20)

  • fixed improper url usage

0.3.0 (2011/05/20)

  • update documentation

  • directly replacing search.pt (no more custom_search.pt)

0.2.2 (2011/05/19)

  • overwriting search method in order to act as a drop-in replacement for the standard plone search results page

0.2.1 (2011/05/16)

  • added getId to default columns

0.2.0 (2011/05/12)

  • now compatible with Plone 3 and 4

0.1.1 (2011/05/12)

  • added support for more standard indexes

  • documentation update

0.1 (2011/05/11)

  • Initial release

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

vs.flexigridsearch-0.4.1.zip (68.2 kB view details)

Uploaded Source

File details

Details for the file vs.flexigridsearch-0.4.1.zip.

File metadata

File hashes

Hashes for vs.flexigridsearch-0.4.1.zip
Algorithm Hash digest
SHA256 f8f5df4cd0da6372bd9da9b7172882f41292d3dc78dbf6c80e21fc0fe8a9f8d5
MD5 8deb1853f19c4f54cf748ec61a6b54f3
BLAKE2b-256 a853bf23334020c559f83db630c9e7e3e3cdc9ff20c7fbd65a9ad40072558bd0

See more details on using hashes here.

Supported by

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