Project description

seantis.dir.base allows to put dexterity objects into 1-4 categories, showing
those categories in a browsable and searchable catalog. To learn more about
seantis.dir.base visit https://github.com/seantis/seantis.dir.base.

Dependencies

seantis.dir.events relies on Plone 4.3+ with dexterity and seantis.dir.base.

python-magic is used to identify the type of uploaded files which requires the
‘libmagic’ library.

Installation

Use Plone 4.3 or newer

extends =
http://dist.plone.org/release/4.3/versions.cfg

Add the module to your instance eggs

[instance]
eggs +=
seantis.dir.events

Ensure that the i18n files are compiled by adding

[instance]
...
environment-vars =
...
zope_i18n_compile_mo_files true

Install dexterity and seantis.dir.events using portal_quickinstaller

Special Views

JSON export

JSON export of all events: ?type=json

Export a limited number of events: ?type=json&max=10

Export all events with a given category: ?type=json&filter=1&cat1=text&cat2=text

Export all events with a given keyword: ?type=json&search=1&searchtext=text