diff --git a/config/sites/ep-reisen/config.yaml b/config/sites/ep-reisen/config.yaml index d092be5c..80fe0c2e 100644 --- a/config/sites/ep-reisen/config.yaml +++ b/config/sites/ep-reisen/config.yaml @@ -139,8 +139,7 @@ routeEnhancers: type: Extbase extension: EpProducts plugin: reseller - limitToPages: - - 1483 + limitToPages: [1483] routes: - routePath: '/{reseller_code}' @@ -153,38 +152,34 @@ routeEnhancers: _arguments: reseller_code: reseller - - routePath: '/{reseller_code}/csv/{type}' + routePath: '/{reseller_code}/csv/{export_type}' _controller: 'Reseller::csv' _arguments: reseller_code: reseller - type: type + export_type: type - routePath: '/{reseller_code}/copypaste/{product_uid}' _controller: 'Reseller::copypaste' _arguments: reseller_code: reseller product_uid: product - requirements: - reseller_code: \w+ - type: \w+ - product_uid: \d+ aspects: - reseller_code: - type: PersistedAliasMapper - tableName: tx_epproducts_domain_model_reseller - routeFieldName: code - type: + export_type: type: StaticValueMapper map: google: google facebook: facebook + reseller_code: + type: PersistedAliasMapper + tableName: tx_epproducts_domain_model_reseller + routeFieldName: code product_uid: type: PersistedAliasMapper tableName: tx_epproducts_domain_model_product routeFieldName: uid AjaxRequests: type: Extbase - extension: epproducts + extension: EpProducts plugin: ajax limitToPages: [855] routes: diff --git a/public/typo3conf/ext/ep_products/Configuration/TypoScript/setup.typoscript b/public/typo3conf/ext/ep_products/Configuration/TypoScript/setup.typoscript index 8a50181f..5ffe25e6 100644 --- a/public/typo3conf/ext/ep_products/Configuration/TypoScript/setup.typoscript +++ b/public/typo3conf/ext/ep_products/Configuration/TypoScript/setup.typoscript @@ -57,10 +57,6 @@ plugin.tx_epproducts { } } } - # The following is required to avoid cHash errors caused by additional query parameters (fx 'pa') - # There has to be a better solution though - features.requireCHashArgumentForActionArguments = 0 - features.skipDefaultArguments = 1 } config.tx_extbase.persistence.classes {