Fix route enhancer for reseller page
This commit is contained in:
@@ -139,8 +139,7 @@ routeEnhancers:
|
|||||||
type: Extbase
|
type: Extbase
|
||||||
extension: EpProducts
|
extension: EpProducts
|
||||||
plugin: reseller
|
plugin: reseller
|
||||||
limitToPages:
|
limitToPages: [1483]
|
||||||
- 1483
|
|
||||||
routes:
|
routes:
|
||||||
-
|
-
|
||||||
routePath: '/{reseller_code}'
|
routePath: '/{reseller_code}'
|
||||||
@@ -153,38 +152,34 @@ routeEnhancers:
|
|||||||
_arguments:
|
_arguments:
|
||||||
reseller_code: reseller
|
reseller_code: reseller
|
||||||
-
|
-
|
||||||
routePath: '/{reseller_code}/csv/{type}'
|
routePath: '/{reseller_code}/csv/{export_type}'
|
||||||
_controller: 'Reseller::csv'
|
_controller: 'Reseller::csv'
|
||||||
_arguments:
|
_arguments:
|
||||||
reseller_code: reseller
|
reseller_code: reseller
|
||||||
type: type
|
export_type: type
|
||||||
-
|
-
|
||||||
routePath: '/{reseller_code}/copypaste/{product_uid}'
|
routePath: '/{reseller_code}/copypaste/{product_uid}'
|
||||||
_controller: 'Reseller::copypaste'
|
_controller: 'Reseller::copypaste'
|
||||||
_arguments:
|
_arguments:
|
||||||
reseller_code: reseller
|
reseller_code: reseller
|
||||||
product_uid: product
|
product_uid: product
|
||||||
requirements:
|
|
||||||
reseller_code: \w+
|
|
||||||
type: \w+
|
|
||||||
product_uid: \d+
|
|
||||||
aspects:
|
aspects:
|
||||||
reseller_code:
|
export_type:
|
||||||
type: PersistedAliasMapper
|
|
||||||
tableName: tx_epproducts_domain_model_reseller
|
|
||||||
routeFieldName: code
|
|
||||||
type:
|
|
||||||
type: StaticValueMapper
|
type: StaticValueMapper
|
||||||
map:
|
map:
|
||||||
google: google
|
google: google
|
||||||
facebook: facebook
|
facebook: facebook
|
||||||
|
reseller_code:
|
||||||
|
type: PersistedAliasMapper
|
||||||
|
tableName: tx_epproducts_domain_model_reseller
|
||||||
|
routeFieldName: code
|
||||||
product_uid:
|
product_uid:
|
||||||
type: PersistedAliasMapper
|
type: PersistedAliasMapper
|
||||||
tableName: tx_epproducts_domain_model_product
|
tableName: tx_epproducts_domain_model_product
|
||||||
routeFieldName: uid
|
routeFieldName: uid
|
||||||
AjaxRequests:
|
AjaxRequests:
|
||||||
type: Extbase
|
type: Extbase
|
||||||
extension: epproducts
|
extension: EpProducts
|
||||||
plugin: ajax
|
plugin: ajax
|
||||||
limitToPages: [855]
|
limitToPages: [855]
|
||||||
routes:
|
routes:
|
||||||
|
|||||||
@@ -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 {
|
config.tx_extbase.persistence.classes {
|
||||||
|
|||||||
Reference in New Issue
Block a user