TypoScript 

All following TypoScript configuration consists in plugin.tx_events2

view 

templateRootPaths 

Default: EXT:events2/Resources/Private/Templates/

Example: plugin.tx_events2.view.templateRootPaths.40 = EXT:site_package/Resources/Private/Templates/

You can override our Templates with your own SitePackage extension.

Changed in version 12.0.0

events2 does not set the keys 1 of templateRootPaths and partialRootPaths anymore. The templates of the Management plugin are located in the regular template folders now, see Templates of the frontend management.

partialRootPaths 

Default: EXT:events2/Resources/Private/Partials/

Example: plugin.tx_events2.view.partialRootPaths.40 = EXT:site_package/Resources/Private/Partials/

You can override our Partials with your own SitePackage extension.

layoutsRootPaths 

Default: EXT:events2/Resources/Private/Layouts/

Example: plugin.tx_events2.view.layoutsRootPaths.40 = EXT:site_package/Resources/Private/Layouts/

You can override our Layouts with your own SitePackage extension. We prefer to change this value in TS Constants.

persistence 

storagePid 

Default: empty

Example: plugin.tx_events2.persistence.storagePid = 12,32,48

Set this value to a Storage Folder where you have stored the event records.

Fall back to TypoScript for empty FlexForm values 

ignoreFlexFormSettingsIfEmpty
Type
string (comma-separated list)
Default
all settings of the FlexForms of events2

Comma-separated list of settings (without the prefix settings.). If the FlexForm value of a listed setting is empty ("" or "0"), the value of the TypoScript setup is used instead. This is the core mechanism of Extbase, see Feature: #99976 - Introduce ignoreFlexFormSettingsIfEmpty Extbase configuration. It applies to all places, which read the settings with the ConfigurationManager of Extbase, also to plugin-specific TypoScript like plugin.tx_events2_list.settings and to the categories of the event form of the Management plugin.

The site set jweiland/events2 lists all settings of the FlexForms of events2: categories, display, latest.amountOfRecordsToShow, listType, mainCategories, mergeEventsAtSameDay, mergeRecurringEvents, new.selectableCategoriesForNewEvents, pidOfDetailPage, pidOfListPage, pidOfLocationPage, pidOfManagementPage, pidOfSearchResults, preFilterByOrganizer and showFilterForOrganizerInFrontend.

Add the settings of your own FlexForm fields to the list, if they should fall back to TypoScript, too. Remove a setting from the list, if its empty FlexForm value should be used:

EXT:my_sitepackage/Configuration/Sets/MySite/setup.typoscript
plugin.tx_events2.ignoreFlexFormSettingsIfEmpty := addToList(mySetting)
plugin.tx_events2.ignoreFlexFormSettingsIfEmpty := removeFromList(mergeEventsAtSameDay)
Copied!

Changed in version 12.0.0

settings 

rootCategory 

Default: empty

Example: plugin.tx_events2.settings.rootCategory = 15

Only valid for search form and management plugin.

As a TYPO3 Backend User can choose nearly every category from each category tree layer we have added rootCategory as a further restriction to show only direct child categories of rootCategory. All selected categories in deeper category tree will not be visible in Frontend. Else it would break our Search Plugin, where you can select a category first and afterwards a sub-category.

The rootCategory has nothing to do with rootUid of ExtensionSettings. rootUid reduces the category tree for users in the TYPO3 backend.

pidOfDetailPage 

Default: 0

Example: plugin.tx_events2.settings.pidOfDetailPage = 123

Often it is useful to move the detail view onto a separate page for design/layout reasons.

pidOfSearchResults 

Default: 0

Example: plugin.tx_events2.settings.pidOfSearchResults = 213

If you have plugin for search results on a different page then plugin for search form you can set the page UID with search result plugin here.

pidOfLocationPage 

Default: 0

Example: plugin.tx_events2.settings.pidOfLocationPage = 132

Often it is useful to move the location view onto a separate page for design/layout reasons.

pidOfListPage 

Default: 0

Example: plugin.tx_events2.settings.pidOfListPage = 231

If you use one of the above settings, it would be useful to define the pidOfListPage, too, so that a link back to list works like expected.

pidOfManagementPage 

Default: 0

Example: plugin.tx_events2.settings.pidOfManagementPage = 312

Page UID with the Management plugin. Set it with the site setting events2.pidOfManagementPage. The links to create and edit events in the detail view and the links of the mails of the event form point to this page. See Set up the frontend management.

userGroup 

settings.userGroup
Type
int
Default
0

Example:

EXT:my_sitepackage/Configuration/Sets/MySite/setup.typoscript
plugin.tx_events2.settings.userGroup = 21
Copied!

UID of the frontend user group, which is allowed to create and edit events in the frontend. Set it with the site setting events2.form.userGroup of the site set jweiland/events2.

Members of this group need a related organizer in their frontend user record. They see a link to create a new event and, for their own events, a link to edit the event in the detail view. Only they can create new events, also backend administrators can not. With the default value 0 nobody can create events in the frontend.

The value is read from the TypoScript setup only, for the Management plugin and for the event form of EXT:form. A value in plugin.tx_events2_management.settings.userGroup overrides the value of plugin.tx_events2.settings.userGroup. Values of the FlexForm or of the settings of other plugins are not respected. See Access rules of the frontend management.

Changed in version 12.0.0

New events can only be created and listed by members of this user group. Before, backend administrators could create events without being a member. The value is read from the TypoScript setup only.

Removed settings 

Changed in version 12.0.0

The settings remainingLetters and new.uploadFolder of the removed Extbase based event form have been removed together with the site settings events2.form.remainingLetters and events2.form.uploadFolder. See Remove obsolete settings.

new 

Special properties for the event form of the Management plugin, see Create and edit events in the frontend:

richText.enable 

New in version 11.2.0

Default: 0

Example:

EXT:my_sitepackage/Configuration/Sets/MySite/setup.typoscript
plugin.tx_events2.settings.new.richText.enable = 1
Copied!

Use a small CKEditor 5 for the rich text elements of the event form based on EXT:form. Requires EXT:rte_ckeditor. See Rich text editor in the frontend form.

richText.elements 

New in version 11.2.0

Default: detail-description

Example:

EXT:my_sitepackage/Configuration/Sets/MySite/setup.typoscript
plugin.tx_events2.settings.new.richText.elements = detail-description, program
Copied!

Comma-separated identifiers of the form elements which get the rich text editor. Elements with dataType: richText in the form definition get the editor, too. See Rich text elements of the event form.

richText.translationsPath 

New in version 12.0.1

Default: EXT:rte_ckeditor/Resources/Public/Contrib/translations/

Example:

EXT:my_sitepackage/Configuration/Sets/MySite/setup.typoscript
plugin.tx_events2.settings.new.richText.translationsPath = EXT:my_sitepackage/Resources/Public/Ckeditor/Translations/
Copied!

Folder with the translations of the user interface of CKEditor 5, see Loaded files of the frontend rich text editor.

latest 

Special properties for list latest view:

amountOfRecordsToShow 

Default: 7

Example: plugin.tx_events2.settings.latest.amountOfRecordsToShow = 12

How many records should be displayed in latest view.

pageBrowser 

Special setting for PageBrowser

itemsPerPage 

Default: 15

Example: plugin.tx_events2.settings.pageBrowser.itemsPerPage = 5

Max amount of records to show for each page in PageBrowser.

_LOCAL_LANG 

As an integrator you can override each language key with TypoScript. For frontend events2 uses this file:

EXT:events2/Resources/Private/Language/locallang.xlf

Example: plugin.tx_events2._LOCAL_LANG.de.listMyEvents = Zeige meine Veranstaltungen