Skip to content
This repository was archived by the owner on Dec 4, 2018. It is now read-only.

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

@hhjse

Description

@hhjse

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions