FluidTYPO3/fluidcontent

Missing access settings with TYPO 7.6

verdure-nientimp opened this issue · 0 comments

We are using TYPO3 7.6.15 and fluidcontent 5.0.0.
In this combination the access tab of FCEs are not rendered correct. The section "Publish Dates and Access Rights" is missing and also "Show in Section Menus" and "Append with Link to Top of Page" are not rendered.
We could fix it with an override of the tt-content TCA
`<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}

call_user_func(
function () {
/* Override broken TCA of fluidcontent 5.0.0 (5.0.0 needs already TYPO3 8 syntax) */
$GLOBALS['TCA']['tt_content']['types']['fluidcontent_content']['showitem'] = '
--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.headers;headers,
pi_flexform,
--div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
--div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,
--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
--div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended
';
}
);`
I suppose there is needed a switch which TYPO version is used.