fluidcontent icon indicating copy to clipboard operation
fluidcontent copied to clipboard

Missing tx_flux_children in TCA?

Open monosize opened this issue 8 years ago • 1 comments

in \FluidTYPO3\Flux\Helper\ContentTypeBuilder::addBoilerplateTableConfiguration the field tx_flux_children is added to the showitem, if the workspace extension isn't loaded. see here https://github.com/FluidTYPO3/flux/blob/65a7efc0eb19ccf5a448c15817281a53b340d5c7/Classes/Helper/ContentTypeBuilder.php#L200

        if (!ExtensionManagementUtility::isLoaded('workspaces')) {
            $GLOBALS['TCA']['tt_content']['types']['fluidcontent_content']['showitem'] .= ', tx_flux_children';
        }

Should that also inserted in Configuration/TCA/Overrides/tt_content.php?

see here https://github.com/FluidTYPO3/fluidcontent/blob/26cb2fc1dfa08c348671db1699334c7de56c278d/Configuration/TCA/Overrides/tt_content.php#L54

monosize avatar Feb 17 '17 12:02 monosize

Hmm, yes, looks like we could use the boilerplate tca function from flux for this. Less duplication is always good!

NamelessCoder avatar Feb 17 '17 12:02 NamelessCoder