Download the PHP package heimrichhannot/contao-events-bundle without Composer
On this page you can find all versions of the php package heimrichhannot/contao-events-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download heimrichhannot/contao-events-bundle
More information about heimrichhannot/contao-events-bundle
Files in heimrichhannot/contao-events-bundle
Package contao-events-bundle
Short Description This bundle offers useful functionality concerning the entities "tl_calendar" and "tl_calendar_events" of the Contao CMS.
License LGPL-3.0-or-later
Informations about the package contao-events-bundle
Contao Events Bundle
This bundle offers useful functionality concerning the entities tl_calendar
and tl_calendar_events
of the Contao CMS.
Features
- adds support for sub events (e.g. workshops, sessions, ...) for a given calendar event in 2 different flavors:
- via a new (and auto-generated) entity
tl_calendar_sub_events
- via declaring the parent-child-relation in
tl_calendar_events
instances
- via a new (and auto-generated) entity
- adds an
Item
class for the generic reader bundle heimrichhannot/contao-list-bundle and the generic list bundle heimrichhannot/contao-list-bundle - adds a dateAdded field for
tl_calendar_events
- adds the
feature
operation totl_calendar_events
(andtl_calendar_sub_events
if used) as already existing intl_news
- adds some new fields (see below)
- Calendar event coordinates
Installation
Install via composer: composer require heimrichhannot/contao-events-bundle
and update your database.
Configuration
Sub events
You can activate sub events in the global Contao settings. Here you have the following 2 options. Which one you take depends on
if the sub events can be a separate entity (tl_calendar_sub_events
) or need to be instances of tl_calendar_events
.
In both cases, activate the appropriate checkbox in the global contao settings. Afterwards clear the cache and update the database.
Realization as an entity "tl_calendar_sub_events"
The tl_calendar_sub_events
dca is created by copying the dca of tl_calendar_events
and resetting some callbacks. See tl_calendar_sub_events.php
for more details on that.
Realization using a parent-child-relation
A new field parentEVent
is added to tl_calendar_events
Coordinates
Can be disabled in settings.
New fields
- dateAdded (auto-generated)
- website
- coordinates
- city
- postal
- street
- locationAdditional
- shortTitle
- featured
- subTitle
All versions of contao-events-bundle with dependencies
contao/core-bundle Version ^4.9
contao/calendar-bundle Version ^4.9
heimrichhannot/contao-utils-bundle Version ^2.216
symfony/event-dispatcher-contracts Version ^1.0 || ^2.0 || ^3.0