Hallo Community,
ich habe in meiner Extension 4 BE-Module registriert. Es erfolgt die saubere Trennung im Template von BE und FE.
Wenn ich allerdings eine eigene Menügruppe in der ext_tables.php erstelle wird für die Module NUR noch das FE-Template angezeigt. Was muss ich einbinden, daß das BE-Template angezeigt wird? Hat jemand einen Tip?
Hier ein Auszug für die Menügruppe
if (!isset($GLOBALS['TBE_MODULES']['biorepublictop'])) {
$temp_TBE_MODULES = [];
foreach ($GLOBALS['TBE_MODULES'] as $key => $val) {
if ($key == 'web') {
$temp_TBE_MODULES[$key] = $val;
$temp_TBE_MODULES['biorepublictop'] = '';
} else {
$temp_TBE_MODULES[$key] = $val;
}
}
$GLOBALS['TBE_MODULES'] = $temp_TBE_MODULES;
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'Zakspeed.BiorepublicV2',
'biorepublictop',
'',
'',
[],
[
'access' => 'systemMaintainer',
'icon' => 'EXT:biorepublic_v2/Resources/Public/Icons/module-biorepublic-top-4.svg',
'labels' => 'LLL:EXT:biorepublic_v2/Resources/Private/Language/locallang_biorepublicv2top.xlf',
]
);
Im Anhang ein Screenshot von meinem Problem