Refine route enhancer configuration
This commit is contained in:
@@ -102,16 +102,21 @@ routeEnhancers:
|
|||||||
plugin: product_detail
|
plugin: product_detail
|
||||||
routes:
|
routes:
|
||||||
-
|
-
|
||||||
routePath: '/{teamer_name}'
|
routePath: '/detail/{product_uid}/{hotel_uid}'
|
||||||
_controller: 'Team::show'
|
_controller: 'Product::detail'
|
||||||
_arguments:
|
_arguments:
|
||||||
teamer_name: member
|
product_uid: product
|
||||||
defaultController: 'Team::show'
|
hotel_uid: hotel
|
||||||
|
defaultController: 'Product::detail'
|
||||||
aspects:
|
aspects:
|
||||||
teamer_name:
|
product_uid:
|
||||||
type: PersistedAliasMapper
|
type: PersistedAliasMapper
|
||||||
tableName: tx_epproducts_domain_model_teammember
|
tableName: tx_epproducts_domain_model_product
|
||||||
routeFieldName: path_segment
|
routeFieldName: uid
|
||||||
|
hotel_uid:
|
||||||
|
type: PersistedAliasMapper
|
||||||
|
tableName: tx_epproducts_domain_model_hotel
|
||||||
|
routeFieldName: uid
|
||||||
SearchResultPlugin:
|
SearchResultPlugin:
|
||||||
type: Extbase
|
type: Extbase
|
||||||
extension: EpProducts
|
extension: EpProducts
|
||||||
@@ -120,10 +125,15 @@ routeEnhancers:
|
|||||||
- 41
|
- 41
|
||||||
routes:
|
routes:
|
||||||
-
|
-
|
||||||
routePath: '/{filtersettings}'
|
routePath: '/ergebnis/{filter_settings}'
|
||||||
_controller: 'Search::searchresult'
|
_controller: 'Search::searchresult'
|
||||||
_arguments:
|
_arguments:
|
||||||
filtersettings: filterSettings
|
filter_settings: filterSettings
|
||||||
|
-
|
||||||
|
routePath: '/ergebnis'
|
||||||
|
_controller: 'Search::searchresult'
|
||||||
|
requirements:
|
||||||
|
filter_settings: '[A-Z0-9%\-]+'
|
||||||
defaultController: 'Search::searchresult'
|
defaultController: 'Search::searchresult'
|
||||||
ResellerPlugin:
|
ResellerPlugin:
|
||||||
type: Extbase
|
type: Extbase
|
||||||
@@ -149,15 +159,15 @@ routeEnhancers:
|
|||||||
reseller_code: reseller
|
reseller_code: reseller
|
||||||
type: type
|
type: type
|
||||||
-
|
-
|
||||||
routePath: '/{reseller_code}/copypaste/{product_id}'
|
routePath: '/{reseller_code}/copypaste/{product_uid}'
|
||||||
_controller: 'Reseller::copypaste'
|
_controller: 'Reseller::copypaste'
|
||||||
_arguments:
|
_arguments:
|
||||||
reseller_code: reseller
|
reseller_code: reseller
|
||||||
product_id: product
|
product_uid: product
|
||||||
requirements:
|
requirements:
|
||||||
reseller_code: \w+
|
reseller_code: \w+
|
||||||
type: \w+
|
type: \w+
|
||||||
product_id: \d+
|
product_uid: \d+
|
||||||
aspects:
|
aspects:
|
||||||
reseller_code:
|
reseller_code:
|
||||||
type: PersistedAliasMapper
|
type: PersistedAliasMapper
|
||||||
@@ -168,7 +178,78 @@ routeEnhancers:
|
|||||||
map:
|
map:
|
||||||
google: google
|
google: google
|
||||||
facebook: facebook
|
facebook: facebook
|
||||||
product_id:
|
product_uid:
|
||||||
type: StaticRangeMapper
|
type: PersistedAliasMapper
|
||||||
start: '1'
|
tableName: tx_epproducts_domain_model_product
|
||||||
end: '1000'
|
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
|
||||||
|
|||||||
@@ -42,3 +42,32 @@ routeEnhancers:
|
|||||||
type: PersistedAliasMapper
|
type: PersistedAliasMapper
|
||||||
tableName: tx_epproducts_domain_model_teammember
|
tableName: tx_epproducts_domain_model_teammember
|
||||||
routeFieldName: path_segment
|
routeFieldName: path_segment
|
||||||
|
AjaxRequests:
|
||||||
|
type: Extbase
|
||||||
|
extension: epproducts
|
||||||
|
plugin: ajax
|
||||||
|
limitToPages: [880]
|
||||||
|
routes:
|
||||||
|
-
|
||||||
|
routePath: '/pricetable'
|
||||||
|
_controller: 'AjaxTable::pricetable'
|
||||||
|
-
|
||||||
|
routePath: '/eventpricetable/{product_uid}'
|
||||||
|
_controller: 'AjaxTable::eventPricetable'
|
||||||
|
_arguments:
|
||||||
|
product_uid: product
|
||||||
|
requirements:
|
||||||
|
product_uid: \d+
|
||||||
|
aspects:
|
||||||
|
product_uid:
|
||||||
|
type: PersistedAliasMapper
|
||||||
|
tableName: tx_epproducts_domain_model_product
|
||||||
|
routeFieldName: uid
|
||||||
|
PageTypeSuffix:
|
||||||
|
type: PageType
|
||||||
|
default: '/'
|
||||||
|
index: ''
|
||||||
|
map:
|
||||||
|
'/': 0
|
||||||
|
'/json': 1701
|
||||||
|
'/html': 1702
|
||||||
|
|||||||
@@ -42,3 +42,32 @@ routeEnhancers:
|
|||||||
type: PersistedAliasMapper
|
type: PersistedAliasMapper
|
||||||
tableName: tx_epproducts_domain_model_teammember
|
tableName: tx_epproducts_domain_model_teammember
|
||||||
routeFieldName: path_segment
|
routeFieldName: path_segment
|
||||||
|
AjaxRequests:
|
||||||
|
type: Extbase
|
||||||
|
extension: epproducts
|
||||||
|
plugin: ajax
|
||||||
|
limitToPages: [878]
|
||||||
|
routes:
|
||||||
|
-
|
||||||
|
routePath: '/pricetable'
|
||||||
|
_controller: 'AjaxTable::pricetable'
|
||||||
|
-
|
||||||
|
routePath: '/eventpricetable/{product_uid}'
|
||||||
|
_controller: 'AjaxTable::eventPricetable'
|
||||||
|
_arguments:
|
||||||
|
product_uid: product
|
||||||
|
requirements:
|
||||||
|
product_uid: \d+
|
||||||
|
aspects:
|
||||||
|
product_uid:
|
||||||
|
type: PersistedAliasMapper
|
||||||
|
tableName: tx_epproducts_domain_model_product
|
||||||
|
routeFieldName: uid
|
||||||
|
PageTypeSuffix:
|
||||||
|
type: PageType
|
||||||
|
default: '/'
|
||||||
|
index: ''
|
||||||
|
map:
|
||||||
|
'/': 0
|
||||||
|
'/json': 1701
|
||||||
|
'/html': 1702
|
||||||
|
|||||||
@@ -42,3 +42,32 @@ routeEnhancers:
|
|||||||
type: PersistedAliasMapper
|
type: PersistedAliasMapper
|
||||||
tableName: tx_epproducts_domain_model_teammember
|
tableName: tx_epproducts_domain_model_teammember
|
||||||
routeFieldName: path_segment
|
routeFieldName: path_segment
|
||||||
|
AjaxRequests:
|
||||||
|
type: Extbase
|
||||||
|
extension: epproducts
|
||||||
|
plugin: ajax
|
||||||
|
limitToPages: [879]
|
||||||
|
routes:
|
||||||
|
-
|
||||||
|
routePath: '/pricetable'
|
||||||
|
_controller: 'AjaxTable::pricetable'
|
||||||
|
-
|
||||||
|
routePath: '/eventpricetable/{product_uid}'
|
||||||
|
_controller: 'AjaxTable::eventPricetable'
|
||||||
|
_arguments:
|
||||||
|
product_uid: product
|
||||||
|
requirements:
|
||||||
|
product_uid: \d+
|
||||||
|
aspects:
|
||||||
|
product_uid:
|
||||||
|
type: PersistedAliasMapper
|
||||||
|
tableName: tx_epproducts_domain_model_product
|
||||||
|
routeFieldName: uid
|
||||||
|
PageTypeSuffix:
|
||||||
|
type: PageType
|
||||||
|
default: '/'
|
||||||
|
index: ''
|
||||||
|
map:
|
||||||
|
'/': 0
|
||||||
|
'/json': 1701
|
||||||
|
'/html': 1702
|
||||||
|
|||||||
Reference in New Issue
Block a user