Skip to main content

ftw.events is a Plone add-on allowing you to add containers (event folders) containing items representing an event (event page). It is backed by plone.app.event and is powered by ftw.simplelayout.

This Plone add-on is compatible with Plone 4.3.x

Installation

  • Add the package to your buildout configuration:

[instance]
eggs +=
    ...
    ftw.events
  • Install the “default” GenericSetup profile.

Usage

Start by creating a container which will hold the events by adding a event folder. Add as many event pages to the event folder as you like.

Mopage Support

ftw.events provides integration for the mopage mobile app (http://web.anthrazit.org/).

Data Endpoint

The view mopage.events.xml returns an XML-feed with the latest events within the context it is called. It can becalled on any type of object.

  • The mopage-API expects a partnerid and a importid. They are incldued when submitted via GET-parameter, e.g.: http://foo.com/events/mopage.events.xml?partnerid=123&importid=456

  • The endpoint returns only 100 events by default. This can be changed with the parameter ?per_page=200.

  • The endpoint returns Link-headers in the response with pagination links.

Trigger behavior

The behavior ftw.events.behaviors.mopage.IPublisherMopageTrigger can be added on a event folder in order to configure automatic notification to the mopage API that new events are published.

In order for the behavior to work properly you need an ftw.publisher setup. Only the receiver-side (public website) will trigger the notification. A configured collective.taskqueue is required for this to work.

Buildout example:

[instance]
eggs +=
    ftw.events[mopage_publisher_receiver]

zope-conf-additional +=
    %import collective.taskqueue
    <taskqueue />
    <taskqueue-server />

Then enable the behavior for the event folder type and configure the trigger with the newly availabe fields.

Background

The name of the content type event page has been chosen in order to avoid confusion with the content type event of Plone.

Development

Python:

  1. Fork this repo

  2. Clone your fork

  3. Shell: ln -s development.cfg buildout.cfg

  4. Shell: python boostrap.py

  5. Shell: bin/buildout

Run bin/test to test your changes.

Or start an instance by running bin/instance fg.

Release files for ftw.events 1.16.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ftw.events 1.16.0
File Size Uploaded
ftw.events-1.16.0.tar.gz 68.4 kB Details

Release files / ftw.events-1.16.0.tar.gz

Download URL ftw.events-1.16.0.tar.gz
Size 68.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1f9447db6d65fe96444849f7cb4cf4ab8594737e806ec7c3fa6cae185df60fea
BLAKE2b-256 checksum
How to use checksums
3a1844a2c43bceb9409fb0250a2fe96946249fdf61d4901661b905ae7e83f96e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.1 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/2.7.18

Release history Release notifications | RSS feed

This release

1.16.0 This release

1 release file

1.15.1

1 release file

1.15.0

1 release file

1.14.4

1 release file

1.14.3

1 release file

1.14.2

1 release file

1.14.1

1 release file

1.14.0

1 release file

1.13.2

1 release file

1.13.1

1 release file

1.13.0

1 release file

1.12.0

1 release file

1.11.4

1 release file

1.11.3

1 release file

1.11.2

1 release file

1.11.1

1 release file

1.11.0

1 release file

1.10.0

1 release file

1.9.0

1 release file

1.8.1

1 release file

1.8.0

1 release file

1.7.2

1 release file

1.7.1

1 release file

1.7.0

1 release file

1.6.2

1 release file

1.6.1

1 release file

1.6.0

1 release file

1.5.0

1 release file

1.4.0

1 release file

1.3.0

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page