fluidcontent icon indicating copy to clipboard operation
fluidcontent copied to clipboard

Problem fluidcontent 5.2.0 with $GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes']['userFunc'] and Typo3 7.6

Open hhjse opened this issue 8 years ago • 0 comments

Hi,

when I install fluidcontent 5.2.0 with Typo3 7.6 and php 7, I have the problem that the code line 24 in ext_localconf.php destroy the whole TCA Array. All other TCA entrys get lost, becaus this entry overrides everything. This has effect, that for example all icon information are lost. And also the userFunc never be called.

$GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes']['userFunc'] = \FluidTYPO3\Fluidcontent\Hooks\ContentIconUserFunction::class . '->getIcon';

When I move this line into the file "fluidcontent\Configuration\TCA\Overrides\tt_content.php" everything works fine, also the userFunc "ContentIconUserFunction->getIcon"

hhjse avatar Dec 13 '17 15:12 hhjse