Refine route enhancer configuration
This commit is contained in:
@@ -102,16 +102,21 @@ routeEnhancers:
|
||||
plugin: product_detail
|
||||
routes:
|
||||
-
|
||||
routePath: '/{teamer_name}'
|
||||
_controller: 'Team::show'
|
||||
routePath: '/detail/{product_uid}/{hotel_uid}'
|
||||
_controller: 'Product::detail'
|
||||
_arguments:
|
||||
teamer_name: member
|
||||
defaultController: 'Team::show'
|
||||
product_uid: product
|
||||
hotel_uid: hotel
|
||||
defaultController: 'Product::detail'
|
||||
aspects:
|
||||
teamer_name:
|
||||
product_uid:
|
||||
type: PersistedAliasMapper
|
||||
tableName: tx_epproducts_domain_model_teammember
|
||||
routeFieldName: path_segment
|
||||
tableName: tx_epproducts_domain_model_product
|
||||
routeFieldName: uid
|
||||
hotel_uid:
|
||||
type: PersistedAliasMapper
|
||||
tableName: tx_epproducts_domain_model_hotel
|
||||
routeFieldName: uid
|
||||
SearchResultPlugin:
|
||||
type: Extbase
|
||||
extension: EpProducts
|
||||
@@ -120,10 +125,15 @@ routeEnhancers:
|
||||
- 41
|
||||
routes:
|
||||
-
|
||||
routePath: '/{filtersettings}'
|
||||
routePath: '/ergebnis/{filter_settings}'
|
||||
_controller: 'Search::searchresult'
|
||||
_arguments:
|
||||
filtersettings: filterSettings
|
||||
filter_settings: filterSettings
|
||||
-
|
||||
routePath: '/ergebnis'
|
||||
_controller: 'Search::searchresult'
|
||||
requirements:
|
||||
filter_settings: '[A-Z0-9%\-]+'
|
||||
defaultController: 'Search::searchresult'
|
||||
ResellerPlugin:
|
||||
type: Extbase
|
||||
@@ -149,15 +159,15 @@ routeEnhancers:
|
||||
reseller_code: reseller
|
||||
type: type
|
||||
-
|
||||
routePath: '/{reseller_code}/copypaste/{product_id}'
|
||||
routePath: '/{reseller_code}/copypaste/{product_uid}'
|
||||
_controller: 'Reseller::copypaste'
|
||||
_arguments:
|
||||
reseller_code: reseller
|
||||
product_id: product
|
||||
product_uid: product
|
||||
requirements:
|
||||
reseller_code: \w+
|
||||
type: \w+
|
||||
product_id: \d+
|
||||
product_uid: \d+
|
||||
aspects:
|
||||
reseller_code:
|
||||
type: PersistedAliasMapper
|
||||
@@ -168,7 +178,78 @@ routeEnhancers:
|
||||
map:
|
||||
google: google
|
||||
facebook: facebook
|
||||
product_id:
|
||||
type: StaticRangeMapper
|
||||
start: '1'
|
||||
end: '1000'
|
||||
product_uid:
|
||||
type: PersistedAliasMapper
|
||||
tableName: tx_epproducts_domain_model_product
|
||||
routeFieldName: uid
|
||||
AjaxRequests:
|
||||
type: Extbase
|
||||
extension: epproducts
|
||||
plugin: ajax
|
||||
limitToPages: [855]
|
||||
routes:
|
||||
-
|
||||
routePath: '/searchresult'
|
||||
_controller: 'AjaxSearch::searchresult'
|
||||
-
|
||||
routePath: '/dates/{product_uid}/{hotel_uid}'
|
||||
_controller: 'AjaxDate::dates'
|
||||
_arguments:
|
||||
product_uid: product
|
||||
hotel_uid: hotel
|
||||
-
|
||||
routePath: '/filterpanel/autocomplete'
|
||||
_controller: 'AjaxFilterpanel::autocomplete'
|
||||
-
|
||||
routePath: '/searchbar/options'
|
||||
_controller: 'AjaxSearchbar::options'
|
||||
-
|
||||
routePath: '/searchbar/reset'
|
||||
_controller: 'AjaxSearchbar::reset'
|
||||
-
|
||||
routePath: '/pricetable/{product_uid}/{hotel_uid}'
|
||||
_controller: 'AjaxTable::pricetable'
|
||||
_arguments:
|
||||
product_uid: product
|
||||
hotel_uid: hotel
|
||||
-
|
||||
routePath: '/pricetable'
|
||||
_controller: 'AjaxTable::pricetableHtml'
|
||||
-
|
||||
routePath: '/calendar/range'
|
||||
_controller: 'AjaxCalendar::range'
|
||||
-
|
||||
routePath: '/calendar/contingents'
|
||||
_controller: 'AjaxCalendar::contingents'
|
||||
-
|
||||
routePath: '/calendar/availableRooms'
|
||||
_controller: 'AjaxCalendar::availableRooms'
|
||||
-
|
||||
routePath: '/contingent/list'
|
||||
_controller: 'AjaxContingent::list'
|
||||
-
|
||||
routePath: '/contingent/rooms'
|
||||
_controller: 'AjaxContingent::rooms'
|
||||
-
|
||||
routePath: '/watchlist'
|
||||
_controller: 'AjaxWatchlist::list'
|
||||
requirements:
|
||||
product_uid: \d+
|
||||
hotel_uid: \d+
|
||||
aspects:
|
||||
product_uid:
|
||||
type: PersistedAliasMapper
|
||||
tableName: tx_epproducts_domain_model_product
|
||||
routeFieldName: uid
|
||||
hotel_uid:
|
||||
type: PersistedAliasMapper
|
||||
tableName: tx_epproducts_domain_model_hotel
|
||||
routeFieldName: uid
|
||||
PageTypeSuffix:
|
||||
type: PageType
|
||||
default: '/'
|
||||
index: ''
|
||||
map:
|
||||
'/': 0
|
||||
'/json': 1701
|
||||
'/html': 1702
|
||||
|
||||
Reference in New Issue
Block a user