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

  • 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.tar.gz (403.1 kB view details)

Uploaded Source

File details

Details for the file seantis.dir.base-1.5.tar.gz.

File metadata

File hashes

Hashes for seantis.dir.base-1.5.tar.gz
Algorithm Hash digest
SHA256 fa8f6ba2f4285f19c34079438515af8f03d3399180cf6abc33a932fc1983cdbe
MD5 e7c6020d5e370b278fafbd873a16dd01
BLAKE2b-256 e6ccfd4c3df0838138faeba4583d443a5bdf4290018c5af591df43305e3e649d

See more details on using hashes here.

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