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.6.1 (2013-06-16)

  • Adds seantis-directory-all, seantis-directory-results or seantis-directory-items to all directory views’ body class. This allows for easier styling of different seantis.dir.* modules.

1.6 (2013-09-12)

  • Removes almost all css styles - it’s the job of seantis.dir.* packages to look shiny.

  • Removes fieldset/legend from directory search

1.5.9

  • Update French translations

1.5.8

  • Exclude *.mo files from the release

1.5.7

  • Show ‘Any’ instead of ‘Whatever’

  • Wrap search text in quotes to avoid query parsers errors

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for seantis.dir.base-1.6.1.tar.gz
Algorithm Hash digest
SHA256 52a60b31e597f9a808bbdf5d0fb6570aafac4a62de0c11f7b40d3dcf4654ffab
MD5 7a073b43ef267b06e0eaef52a10fe268
BLAKE2b-256 2a05e4251d5bede7beb4b6bef5c32985df0d130ffa9b3396b6c3c1be8e2af0f8

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