Update and streamline site configs

This commit is contained in:
Björn Fromme
2019-06-06 18:37:39 +02:00
parent 1af9527fbe
commit 34f90e5816
6 changed files with 202 additions and 80 deletions
+56 -20
View File
@@ -1,10 +1,12 @@
rootPageId: 884
base: 'https://www.ep-events.de'
baseVariants:
- base: 'https://ep-events.burn.dpn'
-
base: 'https://ep-events.burn.dpn'
condition: 'applicationContext == "Development"'
languages:
- title: Deutsch
-
title: Deutsch
enabled: true
languageId: '0'
base: /
@@ -15,50 +17,80 @@ languages:
hreflang: de-DE
direction: ''
flag: de
-
title: Englisch
enabled: true
languageId: '1'
base: /en/
typo3Language: default
locale: en_US.UTF-8
iso-639-1: en
navigationTitle: English
hreflang: en-US
direction: ''
fallbackType: strict
fallbacks: ''
flag: gb
errorHandling:
- errorCode: '404'
-
errorCode: '404'
errorHandler: Page
errorContentSource: 't3://page?uid=608'
routes: { }
routeEnhancers:
NewsPlugin:
type: Extbase
extension: News
plugin: Pi1
limitToPages: [989]
limitToPages:
- 989
routes:
- { routePath: '/{news_title}', _controller: 'News::detail', _arguments: {'news_title': 'news'} }
-
routePath: '/{news_title}'
_controller: 'News::detail'
_arguments:
news_title: news
defaultController: 'News::detail'
aspects:
news_title:
type: PersistedAliasMapper
tableName: 'tx_news_domain_model_news'
routeFieldName: 'path_segment'
tableName: tx_news_domain_model_news
routeFieldName: path_segment
ActivityPlugin:
type: Extbase
extension: EpEvents
plugin: activitydetail
limitToPages: [1405]
limitToPages:
- 1405
routes:
- { routePath: '/{activity_name}', _controller: 'Activity::detail', _arguments: {'activity_name': 'activity'} }
-
routePath: '/{activity_name}'
_controller: 'Activity::detail'
_arguments:
activity_name: activity
defaultController: 'Activity::detail'
aspects:
activity_name:
type: PersistedAliasMapper
tableName: 'tx_epevents_domain_model_activity'
routeFieldName: 'path_segment'
tableName: tx_epevents_domain_model_activity
routeFieldName: path_segment
ConfiguratorPlugin:
type: Extbase
extension: EpEvents
plugin: configurator
limitToPages: [1263]
limitToPages:
- 1263
routes:
- { routePath: '/{travel_type}/{location_type}', _controller: 'Form::configurator', _arguments: {'travel_type': 'travelType', 'location_type': 'locationType'} }
-
routePath: '/{travel_type}/{location_type}'
_controller: 'Form::configurator'
_arguments:
travel_type: travelType
location_type: locationType
defaultController: 'Form::configurator'
requirements:
travel_type: '\d+'
location_type: '\d+'
travel_type: \d+
location_type: \d+
aspects:
travel_type:
type: StaticRangeMapper
@@ -72,15 +104,19 @@ routeEnhancers:
type: Extbase
extension: EpEvents
plugin: contactform
limitToPages: [987]
limitToPages:
- 987
routes:
- { routePath: '/{travel_type}', _controller: 'Form::contactForm', _arguments: {'travel_type': 'travelType'} }
-
routePath: '/{travel_type}'
_controller: 'Form::contactForm'
_arguments:
travel_type: travelType
defaultController: 'Form::contactForm'
requirements:
travel_type: '\d+'
travel_type: \d+
aspects:
travel_type:
type: StaticRangeMapper
start: '1'
end: '100'