fluidcontent
fluidcontent copied to clipboard
Missing tx_flux_children in TCA?
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
Hmm, yes, looks like we could use the boilerplate tca function from flux for this. Less duplication is always good!