[BUGFIX] Overwrite thumbnail config for fluid_styled_content 94/47594/2
authorDaniel Goerz <ervaude@gmail.com>
Tue, 12 Apr 2016 09:02:18 +0000 (11:02 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 18 Apr 2016 12:03:44 +0000 (14:03 +0200)
Change-Id: Ib662069590d3d53b2feddd220a5320e26aec786f
Resolves: #75537
Releases: master,7.6
Reviewed-on: https://review.typo3.org/47594
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/fluid_styled_content/Configuration/TCA/Overrides/tt_content.php

index 534f117..63fcce0 100644 (file)
@@ -119,6 +119,8 @@ call_user_func(function () {
         ],
     ];
 
+    $GLOBALS['TCA']['tt_content']['ctrl']['thumbnail'] = 'assets';
+
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tt_content', $additionalColumns);
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('tt_content', 'bullets_type', 'bullets', 'after:layout');
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('tt_content', 'uploadslayout', 'uploads_description,uploads_type');