TypoScript
All following TypoScript configuration consists in plugin.
view
templateRootPaths
Default: EXT:
Example: plugin.
You can override our Templates with your own SitePackage extension.
Changed in version 12.0.0
events2 does not set the keys 1 of template and
partial anymore. The templates of the Management plugin
are located in the regular template folders now, see
Templates of the frontend management.
partialRootPaths
Default: EXT:
Example: plugin.
You can override our Partials with your own SitePackage extension.
layoutsRootPaths
Default: EXT:
Example: plugin.
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.
Set this value to a Storage Folder where you have stored the event records.
Important
If you have stored Organizers and Locations in another Storage Folder, you have to add theses PIDs here, too.
Tip
If you use creation of events over frontend plugin, new records will be stored in first PID found in storagePid. To store record in other storage PIDs you need following configuration
plugin.tx_events2.persistence.classes.JWeiland\Events2\Domain\Model\Event.newRecordStoragePid = 34
plugin.tx_events2.persistence.classes.JWeiland\Events2\Domain\Model\Location.newRecordStoragePid = 543
Fall back to TypoScript for empty FlexForm values
-
- 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 theConfigurationof Extbase, also to plugin-specific TypoScript likeManager plugin.and to the categories of the event form of the Management plugin.tx_ events2_ list. settings The site set
jweiland/lists all settings of the FlexForms of events2:events2 categories,display,latest.,amount Of Records To Show list,Type main,Categories merge,Events At Same Day merge,Recurring Events new.,selectable Categories For New Events pid,Of Detail Page pid,Of List Page pid,Of Location Page pid,Of Management Page pid,Of Search Results preandFilter By Organizer show.Filter For Organizer In Frontend 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.typoscriptplugin.tx_events2.ignoreFlexFormSettingsIfEmpty := addToList(mySetting) plugin.tx_events2.ignoreFlexFormSettingsIfEmpty := removeFromList(mergeEventsAtSameDay)Copied!Changed in version 12.0.0
Before, events2 used the TypoScript value for each empty FlexForm value on its own. Now only the listed settings fall back to TypoScript. See Check the fallback of empty FlexForm values.
settings
rootCategory
Default: empty
Example: plugin.
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.
Often it is useful to move the detail view onto a separate page for design/layout reasons.
pidOfSearchResults
Default: 0
Example: plugin.
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.
Often it is useful to move the location view onto a separate page for design/layout reasons.
pidOfListPage
Default: 0
Example: plugin.
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.
Page UID with the Management plugin. Set it with the site setting
events2.. 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
-
- Type
- int
- Default
- 0
Example:
EXT:my_sitepackage/Configuration/Sets/MySite/setup.typoscriptplugin.tx_events2.settings.userGroup = 21Copied!UID of the frontend user group, which is allowed to create and edit events in the frontend. Set it with the site setting
events2.of the site setform. user Group 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
0nobody 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.overrides the value oftx_ events2_ management. settings. user Group plugin.. Values of the FlexForm or of the settings of other plugins are not respected. See Access rules of the frontend management.tx_ events2. settings. user Group 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 remaining and new. of the removed
Extbase based event form have been removed together with the site
settings events2. and
events2.. 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
The value is set by the new site setting events2.form.richText.enable.
Default: 0
Example:
plugin.tx_events2.settings.new.richText.enable = 1
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
The value is set by the new site setting events2.form.richText.elements.
Default: detail-
Example:
plugin.tx_events2.settings.new.richText.elements = detail-description, program
Comma-separated identifiers of the form elements which get the rich text
editor. Elements with data in the form definition get
the editor, too. See Rich text elements of the event form.
richText.translationsPath
New in version 12.0.1
The value is set by the new site setting events2.form.richText.translationsPath.
Default: EXT:
Example:
plugin.tx_events2.settings.new.richText.translationsPath = EXT:my_sitepackage/Resources/Public/Ckeditor/Translations/
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.
How many records should be displayed in latest view.
Important
There is no PageBrowser for latest view! So please be careful setting this value to a very high value. It can slow down rendering a lot.
pageBrowser
Special setting for PageBrowser
itemsPerPage
Default: 15
Example: plugin.
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:
Example: plugin.