Skip to main content

Directory module for Plone using Dexterity

Project description

Introduction

seantis.dir.base allows to put dexterity objects into 1-4 categories, showing those categories in a browsable and searchable catalog.

The idea of this plone module is to provide all basic functionality needed to categorize, search and filter objects. These objects may be extended with custom fields using dexterity.

An example, offering a directory of contacts can be found here: https://github.com/seantis/seantis.dir.contacts

This module is probably only really useful for anyone if used as a base to build on. By itself it only offers the categorization and search functionalities.

http://onegov.ch/approved.png/image

Certified: 01/2013

Build Status

https://secure.travis-ci.org/seantis/seantis.dir.base.png

Latest PyPI Release

Latest PyPI version

Installation

  1. Add dexterity to Plone by adding the following Known Good Set to your buildout.cfg:

    extends =
        ...
        http://dist.plone.org/release/4.2/versions.cfg
  2. Add the module to your instance eggs:

    [instance]
    ...
    eggs =
        ...
        seantis.dir.base
  3. Ensure that the i18n files are compiled by adding:

    [instance]
    ...
    environment-vars =
        ...
        zope_i18n_compile_mo_files true
  4. Install seantis.dir.base using portal_quickinstaller

License

seantis.dir.base is released under GPL v2

Maintainer

seantis.dir.base is maintained by Seantis GmbH (www.seantis.ch)

Changelog

1.5.6

  • Fixes group-less forms controlled by seantis.dir.base crashing

  • Temporarily reintroduces jq as jQuery alias for collective.geo.mapwidget until the new release is out of beta.

1.5.5

  • Put search and categories on different lines if more than two categories and the searchbox is active

1.5.4

  • Stop directory search from throwing exceptions if an empty string is given

  • Show ‘Whatever’ instead of an empty string as default in filter combo boxes

1.5.3

  • Render ative/pulsating map markers in front of inactive ones

  • Make core form work with directory again

  • Prevents code from storing categories as sets (which trips up the keyword index)

1.5.2

  • Stop hooking up group forms completely, fixing an issue in seantis.dir.events

1.5.1

  • Limit portlet blocking to directory, making it easy to enable portlets for all items through the portlet settings of the directory. Fixes #4.

  • Fixes form view failing on IDirectoryCategorized items outside a directory

  • Fixes form reordering issue on group forms

1.5

  • Adds a behavior with which any item can be used as a directory item.

    This is a major change to the way directories and their items relate to each other internally. All directories using seantis.dir.base have to be migrated by adding the new IDirectoryCategorized behavior to the each item and reimporting the typeinof.

  • Adds category values to KML document

  • View now use their own directory specific browserlayer

  • Adds ability to define new xls exports through adapters

  • Fixes crash in big excel exports

  • Removes Directory Item Viewlets in Directory View. They have not been working correctly sinde 1.3 anyway.

  • Defines slots in macros which may be replaced by directories building on seantis.dir.base. This may be used as an alternative to the viewlets.

1.4.1

  • Provide better default template for result list entry

  • Provide a macro for default directory information

  • Fixes search viewlet being hidden on item view

  • New flag allow_custom_categories on directory which can be used to prevent users from entering their own categories on items

1.4

  • Map markers macro is now compatible with both brains and actual objects

  • Requires Plone 4.3 to run

1.3

  • Map markers are now always set in the order of the itemview’s batch list.

  • The directory no longer uses a homegrown getObject cache and will instead use catalog brains as much as possible. Directories building on seantis.dir.base might have taken that for granted, so they might be incompatible with this version.

    As a result, viewlets registered with the DirectoryItemViewletManager now need to expect catalog brains instead of objects.

    The upsides are big performance gains and more stability.

1.2

  • onegov.ch approved: add badge to readme.

  • Makes catalog adaptable for better customization

  • Adds maps to items using collective.geo

  • Refactors design. Base does no longer hold it’s own type.

  • Resolves name clash breaking absolute_url()

  • Adds french translations

1.1

  • Adds absolute url to xls export as a read only field

1.0.1

  • Makes fulltext search work independently of folder structure

  • Fixes an IE7 bug resulting in shrinking input boxes

1.0

  • 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

seantis.dir.base-1.5.6.tar.gz (406.8 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