diff --git a/config/sites/ep-reisen/config.yaml b/config/sites/ep-reisen/config.yaml index 2d4683cc..6cb4a6c3 100644 --- a/config/sites/ep-reisen/config.yaml +++ b/config/sites/ep-reisen/config.yaml @@ -193,6 +193,11 @@ routeEnhancers: type: PassthroughMapper busproid: type: PassthroughMapper + requirements: + travelinfodate: '\d{4}\-\d{2}\-\d{2}' + busproid: '\d+' + defaults: + travelinfodate: '2000-01-01' ContingentsIcalPlugin: type: Extbase extension: EpProducts diff --git a/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_date.php b/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_date.php index b45f1644..dc7d837f 100644 --- a/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_date.php +++ b/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_date.php @@ -25,7 +25,7 @@ return [ 'types' => [ '1' => ['showitem' => 'hidden, bus_pro_id, hotel_bus_pro_id, code, daytrip, date_start, date_end, nights, board, board_code, board_bus_pro_id, bus_included, bus_available, skipass_included, services_included, - services_general, pickups, discount, min_price, pseudo_price, available, new'], + services_general, courses_included, pickups, discount, min_price, pseudo_price, available, new'], ], 'palettes' => [ '1' => ['showitem' => ''], @@ -296,6 +296,16 @@ return [ 'eval' => 'trim' ] ], + 'courses_included' => [ + 'exclude' => false, + 'label' => 'Kurse', + 'config' => [ + 'type' => 'text', + 'cols' => 40, + 'rows' => 15, + 'eval' => 'trim' + ] + ], 'pickups' => [ 'exclude' => false, 'label' => 'Zustiege', diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Travelinfo/Index.html b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Travelinfo/Index.html index 76d6a812..b442d19b 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Travelinfo/Index.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Travelinfo/Index.html @@ -111,12 +111,11 @@ Organisatorisches -
- +