Enable limiting of dates on detail pages according to teasers
This commit is contained in:
@@ -109,6 +109,12 @@ routeEnhancers:
|
||||
_arguments:
|
||||
product_uid: product
|
||||
hotel_uid: hotel
|
||||
-
|
||||
routePath: '/angebot/{date_from}/{date_to}'
|
||||
_controller: 'Product::detail'
|
||||
_arguments:
|
||||
date_from: dateFrom
|
||||
date_to: dateTo
|
||||
defaultController: 'Product::detail'
|
||||
aspects:
|
||||
product_uid:
|
||||
@@ -119,6 +125,11 @@ routeEnhancers:
|
||||
type: PersistedAliasMapper
|
||||
tableName: tx_epproducts_domain_model_hotel
|
||||
routeFieldName: uid
|
||||
requirements:
|
||||
product_uid: '\d'
|
||||
hotel_uid: '\d'
|
||||
date_from: '\d{4}-\d{2}-\d{2}'
|
||||
date_to: '\d{4}-\d{2}-\d{2}'
|
||||
BookingLinkPlugin:
|
||||
type: Extbase
|
||||
extension: EpProducts
|
||||
|
||||
Reference in New Issue
Block a user