diff --git a/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_city.php b/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_city.php index cfc6ebf3..47a1671d 100644 --- a/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_city.php +++ b/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_city.php @@ -267,6 +267,31 @@ return [ --palette--;;filePalette', ], ], + 'columns' => [ + 'crop' => [ + 'config' => [ + 'cropVariants' => [ + 'default' => [ + 'title' => 'Alle Geräte', + 'allowedAspectRatios' => [ + 'teaserEven' => [ + 'title' => 'Teaser gerade', + 'value' => 1.3333333333333334, + ], + 'teaserOdd' => [ + 'title' => 'Teaser ungerade', + 'value' => 2.0555555555555556, + ], + 'free' => [ + 'title' => 'Frei', + 'value' => 'NaN', + ], + ], + ], + ], + ], + ], + ], ], 'maxitems' => 10 ], @@ -290,6 +315,31 @@ return [ --palette--;;filePalette', ], ], + 'columns' => [ + 'crop' => [ + 'config' => [ + 'cropVariants' => [ + 'default' => [ + 'title' => 'Alle Geräte', + 'allowedAspectRatios' => [ + 'headerLarge' => [ + 'title' => 'Header groß', + 'value' => 2.3333333333333334, + ], + 'headerSmall' => [ + 'title' => 'Header klein', + 'value' => 3.3333333333333334, + ], + 'free' => [ + 'title' => 'Frei', + 'value' => 'NaN', + ], + ], + ], + ], + ], + ], + ], ], 'maxitems' => 10 ], diff --git a/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_concept.php b/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_concept.php index 0c644e65..896d3852 100644 --- a/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_concept.php +++ b/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_concept.php @@ -244,6 +244,31 @@ return [ --palette--;;filePalette', ], ], + 'columns' => [ + 'crop' => [ + 'config' => [ + 'cropVariants' => [ + 'default' => [ + 'title' => 'Alle Geräte', + 'allowedAspectRatios' => [ + 'teaserEven' => [ + 'title' => 'Teaser gerade', + 'value' => 1.3333333333333334, + ], + 'teaserOdd' => [ + 'title' => 'Teaser ungerade', + 'value' => 2.0555555555555556, + ], + 'free' => [ + 'title' => 'Frei', + 'value' => 'NaN', + ], + ], + ], + ], + ], + ], + ], ], 'maxitems' => 10 ], @@ -266,6 +291,31 @@ return [ --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette, --palette--;;filePalette', ], + 'columns' => [ + 'crop' => [ + 'config' => [ + 'cropVariants' => [ + 'default' => [ + 'title' => 'Alle Geräte', + 'allowedAspectRatios' => [ + 'headerLarge' => [ + 'title' => 'Header groß', + 'value' => 2.3333333333333334, + ], + 'headerSmall' => [ + 'title' => 'Header klein', + 'value' => 3.3333333333333334, + ], + 'free' => [ + 'title' => 'Frei', + 'value' => 'NaN', + ], + ], + ], + ], + ], + ], + ], ], ], 'maxitems' => 10 diff --git a/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_country.php b/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_country.php index 75caa13c..eacc5c47 100644 --- a/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_country.php +++ b/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_country.php @@ -264,6 +264,31 @@ return [ --palette--;;filePalette', ], ], + 'columns' => [ + 'crop' => [ + 'config' => [ + 'cropVariants' => [ + 'default' => [ + 'title' => 'Alle Geräte', + 'allowedAspectRatios' => [ + 'teaserEven' => [ + 'title' => 'Teaser gerade', + 'value' => 1.3333333333333334, + ], + 'teaserOdd' => [ + 'title' => 'Teaser ungerade', + 'value' => 2.0555555555555556, + ], + 'free' => [ + 'title' => 'Frei', + 'value' => 'NaN', + ], + ], + ], + ], + ], + ], + ], ], 'maxitems' => 10 ], @@ -287,6 +312,31 @@ return [ --palette--;;filePalette', ], ], + 'columns' => [ + 'crop' => [ + 'config' => [ + 'cropVariants' => [ + 'default' => [ + 'title' => 'Alle Geräte', + 'allowedAspectRatios' => [ + 'headerLarge' => [ + 'title' => 'Header groß', + 'value' => 2.3333333333333334, + ], + 'headerSmall' => [ + 'title' => 'Header klein', + 'value' => 3.3333333333333334, + ], + 'free' => [ + 'title' => 'Frei', + 'value' => 'NaN', + ], + ], + ], + ], + ], + ], + ], ], 'maxitems' => 10 ], diff --git a/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_hotel.php b/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_hotel.php index 4a17359d..5ec3caea 100644 --- a/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_hotel.php +++ b/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_hotel.php @@ -283,6 +283,31 @@ return [ --palette--;;filePalette', ], ], + 'columns' => [ + 'crop' => [ + 'config' => [ + 'cropVariants' => [ + 'default' => [ + 'title' => 'Alle Geräte', + 'allowedAspectRatios' => [ + 'teaserEven' => [ + 'title' => 'Teaser gerade', + 'value' => 1.3333333333333334, + ], + 'teaserOdd' => [ + 'title' => 'Teaser ungerade', + 'value' => 2.0555555555555556, + ], + 'free' => [ + 'title' => 'Frei', + 'value' => 'NaN', + ], + ], + ], + ], + ], + ], + ], ], 'maxitems' => 10 ], @@ -306,6 +331,31 @@ return [ --palette--;;filePalette', ], ], + 'columns' => [ + 'crop' => [ + 'config' => [ + 'cropVariants' => [ + 'default' => [ + 'title' => 'Alle Geräte', + 'allowedAspectRatios' => [ + 'headerLarge' => [ + 'title' => 'Header groß', + 'value' => 2.3333333333333334, + ], + 'headerSmall' => [ + 'title' => 'Header klein', + 'value' => 3.3333333333333334, + ], + 'free' => [ + 'title' => 'Frei', + 'value' => 'NaN', + ], + ], + ], + ], + ], + ], + ], ], 'maxitems' => 10 ], diff --git a/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_product.php b/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_product.php index af007453..17f4188c 100644 --- a/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_product.php +++ b/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_product.php @@ -384,6 +384,31 @@ return [ --palette--;;filePalette', ], ], + 'columns' => [ + 'crop' => [ + 'config' => [ + 'cropVariants' => [ + 'default' => [ + 'title' => 'Alle Geräte', + 'allowedAspectRatios' => [ + 'teaserEven' => [ + 'title' => 'Teaser gerade', + 'value' => 1.3333333333333334, + ], + 'teaserOdd' => [ + 'title' => 'Teaser ungerade', + 'value' => 2.0555555555555556, + ], + 'free' => [ + 'title' => 'Frei', + 'value' => 'NaN', + ], + ], + ], + ], + ], + ], + ], ], 'maxitems' => 10 ], @@ -407,6 +432,31 @@ return [ --palette--;;filePalette', ], ], + 'columns' => [ + 'crop' => [ + 'config' => [ + 'cropVariants' => [ + 'default' => [ + 'title' => 'Alle Geräte', + 'allowedAspectRatios' => [ + 'headerLarge' => [ + 'title' => 'Header groß', + 'value' => 2.3333333333333334, + ], + 'headerSmall' => [ + 'title' => 'Header klein', + 'value' => 3.3333333333333334, + ], + 'free' => [ + 'title' => 'Frei', + 'value' => 'NaN', + ], + ], + ], + ], + ], + ], + ], ], 'maxitems' => 10 ], diff --git a/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_region.php b/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_region.php index 33f29cde..15983522 100644 --- a/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_region.php +++ b/web/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_region.php @@ -336,6 +336,31 @@ return [ --palette--;;filePalette', ], ], + 'columns' => [ + 'crop' => [ + 'config' => [ + 'cropVariants' => [ + 'default' => [ + 'title' => 'Alle Geräte', + 'allowedAspectRatios' => [ + 'teaserEven' => [ + 'title' => 'Teaser gerade', + 'value' => 1.3333333333333334, + ], + 'teaserOdd' => [ + 'title' => 'Teaser ungerade', + 'value' => 2.0555555555555556, + ], + 'free' => [ + 'title' => 'Frei', + 'value' => 'NaN', + ], + ], + ], + ], + ], + ], + ], ], 'maxitems' => 10 ], @@ -359,6 +384,31 @@ return [ --palette--;;filePalette', ], ], + 'columns' => [ + 'crop' => [ + 'config' => [ + 'cropVariants' => [ + 'default' => [ + 'title' => 'Alle Geräte', + 'allowedAspectRatios' => [ + 'headerLarge' => [ + 'title' => 'Header groß', + 'value' => 2.3333333333333334, + ], + 'headerSmall' => [ + 'title' => 'Header klein', + 'value' => 3.3333333333333334, + ], + 'free' => [ + 'title' => 'Frei', + 'value' => 'NaN', + ], + ], + ], + ], + ], + ], + ], ], 'maxitems' => 10 ], diff --git a/web/typo3conf/ext/ep_theme/Configuration/TCA/Overrides/sys_file_reference.php b/web/typo3conf/ext/ep_theme/Configuration/TCA/Overrides/sys_file_reference.php index 7143ea81..eb166646 100644 --- a/web/typo3conf/ext/ep_theme/Configuration/TCA/Overrides/sys_file_reference.php +++ b/web/typo3conf/ext/ep_theme/Configuration/TCA/Overrides/sys_file_reference.php @@ -1,37 +1,10 @@ [ 'title' => 'Default', 'allowedAspectRatios' => [ - 'teaserEven' => [ - 'title' => 'EP Reisen: Teaser gerade', - 'value' => 1.3333333333333334, - ], - 'teaserOdd' => [ - 'title' => 'EP Reisen: Teaser ungerade', - 'value' => 2.0555555555555556, - ], - 'headerLarge' => [ - 'title' => 'EP Reisen: Header groß', - 'value' => 2.3333333333333334, - ], - 'headerSmall' => [ - 'title' => 'EP Reisen: Header klein', - 'value' => 3.3333333333333334, - ], - 'contentSlider' => [ - 'title' => 'EP Reisen: Content Slider', - 'value' => 1.59, - ], - 'contentSliderProduct' => [ - 'title' => 'EP Reisen: Content Slider Produkttexte', - 'value' => 1.79069767, - ], - 'sliderProductHeader' => [ - 'title' => 'EP Reisen: Slider Produkt Header', - 'value' => 1.625, - ], 'epEventsTeaserSliderDesktop' => [ 'title' => 'EP Events: Teaser Slider Desktop', 'value' => 1, @@ -55,4 +28,4 @@ $GLOBALS['TCA']['sys_file_reference']['columns']['crop']['config']['cropVariants ], ], ]; - +**/ diff --git a/web/typo3conf/ext/ep_theme/Configuration/TCA/Overrides/tt_content_element_teaser.php b/web/typo3conf/ext/ep_theme/Configuration/TCA/Overrides/tt_content_element_teaser.php index f079ffd8..090d0cfb 100644 --- a/web/typo3conf/ext/ep_theme/Configuration/TCA/Overrides/tt_content_element_teaser.php +++ b/web/typo3conf/ext/ep_theme/Configuration/TCA/Overrides/tt_content_element_teaser.php @@ -122,7 +122,33 @@ call_user_func(function() { 'appearance' => [ 'createNewRelationLinkTitle' => 'Hinzufügen' ], - 'foreign_types' => $GLOBALS['TCA']['tt_content']['columns']['image']['config']['foreign_types'], + 'overrideChildTca' => [ + 'columns' => [ + 'crop' => [ + 'config' => [ + 'cropVariants' => [ + 'default' => [ + 'title' => 'Alle Geräte', + 'allowedAspectRatios' => [ + 'teaserEven' => [ + 'title' => 'Teaser gerade', + 'value' => 1.3333333333333334, + ], + 'teaserOdd' => [ + 'title' => 'Teaser ungerade', + 'value' => 2.0555555555555556, + ], + 'free' => [ + 'title' => 'Frei', + 'value' => 'NaN', + ], + ], + ], + ], + ], + ], + ], + ], 'maxitems' => 1, 'minitems' => 0, ], $GLOBALS['TYPO3_CONF_VARS']['SYS']['mediafile_ext']) diff --git a/web/typo3conf/ext/ep_theme/Configuration/TCA/tx_eptheme_domain_model_slide.php b/web/typo3conf/ext/ep_theme/Configuration/TCA/tx_eptheme_domain_model_slide.php index d1089381..6bc209a4 100644 --- a/web/typo3conf/ext/ep_theme/Configuration/TCA/tx_eptheme_domain_model_slide.php +++ b/web/typo3conf/ext/ep_theme/Configuration/TCA/tx_eptheme_domain_model_slide.php @@ -183,6 +183,43 @@ return [ --palette--;;filePalette' ], ], + 'columns' => [ + 'crop' => [ + 'config' => [ + 'cropVariants' => [ + 'default' => [ + 'title' => 'Alle Geräte', + 'allowedAspectRatios' => [ + 'headerLarge' => [ + 'title' => 'Header groß', + 'value' => 2.3333333333333334, + ], + 'headerSmall' => [ + 'title' => 'Header klein', + 'value' => 3.3333333333333334, + ], + 'contentSlider' => [ + 'title' => 'Content Slider/Galerie', + 'value' => 1.59, + ], + 'contentSliderProduct' => [ + 'title' => 'Content Slider/Galerie Produkttexte', + 'value' => 1.79069767, + ], + 'sliderProductHeader' => [ + 'title' => 'Slider Produkt Header', + 'value' => 1.625, + ], + 'free' => [ + 'title' => 'Frei', + 'value' => 'NaN', + ], + ], + ], + ], + ], + ], + ], ], 'maxitems' => 1, 'minitems' => 1,