From 34f90e5816247f488bd4f827526ff90d1e2934ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Thu, 6 Jun 2019 18:37:39 +0200 Subject: [PATCH] Update and streamline site configs --- config/sites/ep-events/config.yaml | 76 ++++++++++---- config/sites/ep-reisen/config.yaml | 127 +++++++++++++++++------ config/sites/ski-boarderweek/config.yaml | 23 ++-- config/sites/ski-wochenenden/config.yaml | 10 +- config/sites/snowzone/config.yaml | 23 ++-- config/sites/unichamp/config.yaml | 23 ++-- 6 files changed, 202 insertions(+), 80 deletions(-) diff --git a/config/sites/ep-events/config.yaml b/config/sites/ep-events/config.yaml index b65a9ddd..3d9d01fa 100644 --- a/config/sites/ep-events/config.yaml +++ b/config/sites/ep-events/config.yaml @@ -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' - diff --git a/config/sites/ep-reisen/config.yaml b/config/sites/ep-reisen/config.yaml index 633f81ca..2302b241 100644 --- a/config/sites/ep-reisen/config.yaml +++ b/config/sites/ep-reisen/config.yaml @@ -1,10 +1,12 @@ rootPageId: 9 base: 'https://www.ep-reisen.de' baseVariants: - - base: 'https://eptypo3.burn.dpn' + - + base: 'https://eptypo3.burn.dpn' condition: 'applicationContext == "Development"' languages: - - title: Deutsch + - + title: Deutsch enabled: true languageId: '0' base: / @@ -15,91 +17,152 @@ 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: { } - +routes: + - + route: robots.txt + type: staticText + content: "User-agent: *\r\nDisallow: /typo3/\r\nDisallow: /typo3_src/\r\nAllow: /typo3/sysext/frontend/Resources/Public/*\r\n" routeEnhancers: NewsDetailPlugin: type: Extbase extension: News plugin: Pi1 - limitToPages: [1392] + limitToPages: + - 1392 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 NewsTagPlugin: type: Extbase extension: News plugin: Pi1 - limitToPages: [1391] + limitToPages: + - 1391 routes: - - { routePath: '/{news_tag}', _controller: 'News::list', _arguments: {'news_tag': 'overwriteDemand/tags'} } + - + routePath: '/{news_tag}' + _controller: 'News::list' + _arguments: + news_tag: overwriteDemand/tags defaultController: 'News::list' aspects: news_tag: type: PersistedAliasMapper - tableName: 'tx_news_domain_model_tag' - routeFieldName: 'slug' + tableName: tx_news_domain_model_tag + routeFieldName: slug TeamPlugin: type: Extbase extension: EpProducts plugin: teammembers - limitToPages: [1446] + limitToPages: + - 1446 routes: - - { routePath: '/{teamer_name}', _controller: 'Team::show', _arguments: {'teamer_name': 'member'} } + - + routePath: '/{teamer_name}' + _controller: 'Team::show' + _arguments: + teamer_name: member defaultController: 'Team::show' aspects: teamer_name: type: PersistedAliasMapper - tableName: 'tx_epproducts_domain_model_teammember' - routeFieldName: 'path_segment' + tableName: tx_epproducts_domain_model_teammember + routeFieldName: path_segment ProductDetailPlugin: type: Extbase extension: EpProducts plugin: product_detail routes: - - { routePath: '/{teamer_name}', _controller: 'Team::show', _arguments: {'teamer_name': 'member'} } + - + routePath: '/{teamer_name}' + _controller: 'Team::show' + _arguments: + teamer_name: member defaultController: 'Team::show' aspects: teamer_name: type: PersistedAliasMapper - tableName: 'tx_epproducts_domain_model_teammember' - routeFieldName: 'path_segment' + tableName: tx_epproducts_domain_model_teammember + routeFieldName: path_segment SearchResultPlugin: type: Extbase extension: EpProducts plugin: searchresult - limitToPages: [41] + limitToPages: + - 41 routes: - - { routePath: '/{filtersettings}', _controller: 'Search::searchresult', _arguments: {'filtersettings': 'filterSettings'} } + - + routePath: '/{filtersettings}' + _controller: 'Search::searchresult' + _arguments: + filtersettings: filterSettings defaultController: 'Search::searchresult' ResellerPlugin: type: Extbase extension: EpProducts plugin: reseller - limitToPages: [1483] + limitToPages: + - 1483 routes: - - { routePath: '/{reseller_code}', _controller: 'Reseller::list', _arguments: {'reseller_code': 'reseller'} } - - { routePath: '/{reseller_code}/xml', _controller: 'Reseller::xml', _arguments: {'reseller_code': 'reseller'} } - - { routePath: '/{reseller_code}/csv/{type}', _controller: 'Reseller::csv', _arguments: {'reseller_code': 'reseller', 'type': 'type'} } - - { routePath: '/{reseller_code}/copypaste/{product_id}', _controller: 'Reseller::copypaste', _arguments: {'reseller_code': 'reseller', 'product_id': 'product'} } + - + routePath: '/{reseller_code}' + _controller: 'Reseller::list' + _arguments: + reseller_code: reseller + - + routePath: '/{reseller_code}/xml' + _controller: 'Reseller::xml' + _arguments: + reseller_code: reseller + - + routePath: '/{reseller_code}/csv/{type}' + _controller: 'Reseller::csv' + _arguments: + reseller_code: reseller + type: type + - + routePath: '/{reseller_code}/copypaste/{product_id}' + _controller: 'Reseller::copypaste' + _arguments: + reseller_code: reseller + product_id: product requirements: - reseller_code: '\w+' - type: '\w+' - product_id: '\d+' + reseller_code: \w+ + type: \w+ + product_id: \d+ aspects: reseller_code: type: PersistedAliasMapper - tableName: 'tx_epproducts_domain_model_reseller' - routeFieldName: 'code' + tableName: tx_epproducts_domain_model_reseller + routeFieldName: code type: type: StaticValueMapper map: diff --git a/config/sites/ski-boarderweek/config.yaml b/config/sites/ski-boarderweek/config.yaml index bd2dca0b..6c25e2dd 100644 --- a/config/sites/ski-boarderweek/config.yaml +++ b/config/sites/ski-boarderweek/config.yaml @@ -1,10 +1,12 @@ rootPageId: 24 base: 'https://www.ski-boarderweek.de' baseVariants: - - base: 'https://ski-boarderweek.burn.dpn' + - + base: 'https://ski-boarderweek.burn.dpn' condition: 'applicationContext == "Development"' languages: - - title: Deutsch + - + title: Deutsch enabled: true languageId: '0' base: / @@ -16,22 +18,27 @@ languages: direction: '' flag: de errorHandling: - - errorCode: '404' + - + errorCode: '404' errorHandler: Page errorContentSource: 't3://page?uid=608' routes: { } - routeEnhancers: TeamPlugin: type: Extbase extension: EpProducts plugin: teammembers - limitToPages: [1488] + limitToPages: + - 1488 routes: - - { routePath: '/{teamer_name}', _controller: 'Team::show', _arguments: {'teamer_name': 'member'} } + - + routePath: '/{teamer_name}' + _controller: 'Team::show' + _arguments: + teamer_name: member defaultController: 'Team::show' aspects: teamer_name: type: PersistedAliasMapper - tableName: 'tx_epproducts_domain_model_teammember' - routeFieldName: 'path_segment' + tableName: tx_epproducts_domain_model_teammember + routeFieldName: path_segment diff --git a/config/sites/ski-wochenenden/config.yaml b/config/sites/ski-wochenenden/config.yaml index e25f06a3..3f956a96 100644 --- a/config/sites/ski-wochenenden/config.yaml +++ b/config/sites/ski-wochenenden/config.yaml @@ -1,10 +1,12 @@ rootPageId: 14 base: 'https://www.ski-wochenenden.de' baseVariants: - - base: 'https://ski-wochenenden.burn.dpn' + - + base: 'https://ski-wochenenden.burn.dpn' condition: 'applicationContext == "Development"' languages: - - title: Deutsch + - + title: Deutsch enabled: true languageId: '0' base: / @@ -16,9 +18,9 @@ languages: direction: '' flag: de errorHandling: - - errorCode: '404' + - + errorCode: '404' errorHandler: Page errorContentSource: 't3://page?uid=608' routes: { } - routeEnhancers: { } diff --git a/config/sites/snowzone/config.yaml b/config/sites/snowzone/config.yaml index f8435286..2e1e03ab 100644 --- a/config/sites/snowzone/config.yaml +++ b/config/sites/snowzone/config.yaml @@ -1,10 +1,12 @@ rootPageId: 25 base: 'https://www.snowzone.net' baseVariants: - - base: 'https://snowzone.burn.dpn' + - + base: 'https://snowzone.burn.dpn' condition: 'applicationContext == "Development"' languages: - - title: Deutsch + - + title: Deutsch enabled: true languageId: '0' base: / @@ -16,22 +18,27 @@ languages: direction: '' flag: de errorHandling: - - errorCode: '404' + - + errorCode: '404' errorHandler: Page errorContentSource: 't3://page?uid=608' routes: { } - routeEnhancers: TeamPlugin: type: Extbase extension: EpProducts plugin: teammembers - limitToPages: [1619] + limitToPages: + - 1619 routes: - - { routePath: '/{teamer_name}', _controller: 'Team::show', _arguments: {'teamer_name': 'member'} } + - + routePath: '/{teamer_name}' + _controller: 'Team::show' + _arguments: + teamer_name: member defaultController: 'Team::show' aspects: teamer_name: type: PersistedAliasMapper - tableName: 'tx_epproducts_domain_model_teammember' - routeFieldName: 'path_segment' + tableName: tx_epproducts_domain_model_teammember + routeFieldName: path_segment diff --git a/config/sites/unichamp/config.yaml b/config/sites/unichamp/config.yaml index 14ef952c..0e36e24c 100644 --- a/config/sites/unichamp/config.yaml +++ b/config/sites/unichamp/config.yaml @@ -1,10 +1,12 @@ rootPageId: 26 base: 'https://www.unichamp.de' baseVariants: - - base: 'https://unichamp.burn.dpn' + - + base: 'https://unichamp.burn.dpn' condition: 'applicationContext == "Development"' languages: - - title: Deutsch + - + title: Deutsch enabled: true languageId: '0' base: / @@ -16,22 +18,27 @@ languages: direction: '' flag: de errorHandling: - - errorCode: '404' + - + errorCode: '404' errorHandler: Page errorContentSource: 't3://page?uid=608' routes: { } - routeEnhancers: TeamPlugin: type: Extbase extension: EpProducts plugin: teammembers - limitToPages: [1620] + limitToPages: + - 1620 routes: - - { routePath: '/{teamer_name}', _controller: 'Team::show', _arguments: {'teamer_name': 'member'} } + - + routePath: '/{teamer_name}' + _controller: 'Team::show' + _arguments: + teamer_name: member defaultController: 'Team::show' aspects: teamer_name: type: PersistedAliasMapper - tableName: 'tx_epproducts_domain_model_teammember' - routeFieldName: 'path_segment' + tableName: tx_epproducts_domain_model_teammember + routeFieldName: path_segment