Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.
Human-readable URLs
Slug configuration (since TYPO3 9.5)
routeEnhancers:
PageTypeSuffix:
type: PageType
CalendarsPlugin:
type: Extbase
extension: Calendars
plugin: Calendarlist
routes:
- routePath: '/{calendar_slug}'
_controller: 'Calendar::showEvent'
_arguments:
calendar_slug: event
defaultController: 'Calendar::listEvents'
aspects:
calendar_slug:
type: PersistedAliasMapper
tableName: tx_calendars_domain_model_calendarevent
routeFieldName: slug
routeValuePrefix: /
CalendarsregistrationPlugin:
type: Extbase
extension: Calendars
plugin: Registration
routes:
- routePath: '/{registration_slug}'
_controller: 'Registration::showRegistration'
_arguments:
registration_slug: event
defaultController: 'Registration::showRegistration'
aspects:
registration_slug:
type: PersistedAliasMapper
tableName: tx_calendars_domain_model_calendarevent
routeFieldName: slug
routeValuePrefix: /
Realurl configuration (up to TYPO3 9.5)
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = [
'domain.de' => [
'fixedPostVars' => [
'calendarConfiguration' => [
0 => [
'GETvar' => 'tx_calendars_calendarslist[action]',
'valueMap' => [
'showEvent' => '',
],
'noMatch' => 'bypass',
],
1 => [
'GETvar' => 'tx_calendars_calendarslist[controller]',
'valueMap' => [],
'noMatch' => 'bypass',
],
2 => [
'GETvar' => 'tx_calendars_calendarslist[event]',
'lookUpTable' => [
'table' => 'tx_calendars_domain_model_calendarevent',
'id_field' => 'uid',
'alias_field' => 'CONCAT(title, \'_\', uid)',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => [
'strtolower' => 1,
'spaceCharacter' => '-',
],
'languageGetVar' => 'L',
'languageExceptionUids' => '',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'autoUpdate' => 1,
'expireDays' => 180,
],
],
],
4 => 'calendarConfiguration',
'calendarRegistrationConfiguration' => [
0 => [
'GETvar' => 'tx_calendars_registration[action]',
'valueMap' => [
'showRegistration' => '',
],
'noMatch' => 'bypass',
],
1 => [
'GETvar' => 'tx_calendars_registration[controller]',
'valueMap' => [],
'noMatch' => 'bypass',
],
2 => [
'GETvar' => 'tx_calendars_registration[event]',
'lookUpTable' => [
'table' => 'tx_calendars_domain_model_calendarevent',
'id_field' => 'uid',
'alias_field' => 'CONCAT(title, \'_\', uid)',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => [
'strtolower' => 1,
'spaceCharacter' => '-',
],
'languageGetVar' => 'L',
'languageExceptionUids' => '',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'autoUpdate' => 1,
'expireDays' => 180,
],
],
],
4 => 'calendarRegistrationConfiguration',
],
],
];