---
title: "Extension Settings"
manual: "Events2"
version: "main"
permalink: "https://docs.typo3.org/permalink/jweiland/events2:extensionsettings@main"
source: "Configuration/Extension/Index.rst"
rendered: "2026-11-23T08:41:16+00:00"
---

# Extension Settings {#extensionsettings}

Some general settings for events2 can be configured in `Admin Tools` -> `Settings`.

The settings are divided into several tabs and described here in detail:

<!-- TODO: no Markdown rendering for "versionchanged" -->

The setting pathSegmentType has been removed. The path segment of
events follows the TCA configuration of the column path_segment
only, see Path segments of events follow the TCA configuration.

## Tab: Basic {#tab-basic}

### poiCollectionPid {#poicollectionpid}

Default: 0

Only valid, if you have installed EXT:maps2.

While creating location records events2 catches the address and automatically creates a maps2 record
for you. Use this option to define a storage PID, where these records should be stored.

### rootUid {#rootuid}

Default: 0

If you have many sys_category records with huge trees in your TYPO3 project, it may make sense to
reduce the category trees in events2 plugins to a parent category UID (root UID).

> [!TIP]
> Using TCA option `rootUid` for trees is deprecated since TYPO3 11. `events2` will take care
> of that and updates the new option `startingPoints` automatically for you, if you set this
> option here.

### recurringPast {#recurringpast}

Default: 3

Our events2 works within a timeframe. This means, that you have to set an earliest start (in months) for generated
day records in past. A value of 3 means 3 months in past. Older events will not be shown in frontend anymore, but are
still visible by Google Search.

### recurringFuture {#recurringfuture}

Default: 6

Our events2 works within a timeframe. This means, that you have to set a latest end (in months) for generated
day records in future. A value of 6 means 6 months in future. Events above 6 month in future will not be shown
in frontend.

### defaultCountry {#defaultcountry}

Default: empty

Example: `DE`

ISO 3166-1 alpha-2 code of the country, which is preselected for new
location records in the backend. The value is a simple text field. It is
checked against the countries of the country API of TYPO3
([Country API](https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/Country/Index.html#country-api)). Unknown codes are ignored, so no country
is preselected. The select box of the country lists all countries of the
country API with their localized names.

While creating location records we also create a record for EXT:maps2.
If you're only working for one specific country, the preselected country
helps, so you only need to add street and city to find a POI. If you need
POIs from all over the world, please keep this field empty.

<!-- TODO: no Markdown rendering for "versionchanged" -->

EXT:static_info_tables is not required anymore. The setting expects an
ISO 3166-1 alpha-2 code instead of the UID of a static_countries
record. Former UIDs and unknown codes are ignored, so no country is
preselected. Change the value manually, see
Migrate the countries of locations to ISO codes.

### xmlImportValidatorPath {#xmlimportvalidatorpath}

Default: EXT:events2/Resources/Public/XmlImportValidator.xsd

If you use our XML importer we will validate your XML structure against a XSD file. So, if you use name-Tag for
categories the import will fail, because XSD knows that only a title-Tag is valid.

By default organizer, location and categories are mandatory while import. If you set organizer and/or
location as non-mandatory in Extension Setting this has no effect to the importer. Please make a copy of
our XSD file and add the modifications you need and set new file path into this variable.

You can prefix the path with EXT:

The file is used by the command `events2:import`, see
[Import events with events2:import](https://docs.typo3.org/permalink/jweiland/events2:commands-import@main).

### organizerIsRequired {#organizerisrequired}

Default: false

If you want, you can set column *Organizers* as required. That way an editor has to fill this column.

### locationIsRequired {#locationisrequired}

Default: false

If you want, you can set column *Location* as required. That way an editor has to fill this column.

### categoryIsRequired {#categoryisrequired}

Default: false

If you want, you can set column *Categories* as required. That way an editor has to fill this column.

## Tab: Email {#tab-email}

### emailFromAddress {#emailfromaddress}

Default: empty (use value from INSTALL_TOOL)

With events2 you can give your website visitors the possibility to create new
events. These created records will be hidden by default. Add an email address
of the sender, if a new record was created over the frontend.

### emailFromName {#emailfromname}

Default: empty (use value from INSTALL_TOOL)

With events2 you can give your website visitors the possibility to create new
events. These created records will be hidden by default. Add a name
of the sender, if a new record was created over the frontend.

### emailToAddress {#emailtoaddress}

Default: empty

With events2 you can give your website visitors the possibility to create new
events. These created records will be hidden by default. Add an email address
of the receiver, if a new record was created over the frontend.

### emailToName {#emailtoname}

Default: empty

With events2 you can give your website visitors the possibility to create new
events. These created records will be hidden by default. Add a name
of the receiver, if a new record was created over the frontend.
