-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Description
Hello!
I would like to hide a container (CType=panels) from the newContentElementWizard. However, using the method ->setRegisterInNewContentElementWizard(false) is not working.
Here is my configuration in packages/theme/Configuration/TCA/Overrides/container_definitions.php
// Panel-Container
$panelConfig = (new ContainerConfiguration(
'panels',
'Panel',
'Ein einzelnes Panel innerhalb des Akkordeons',
[
[
['name' => 'Panel-Inhalt', 'colPos' => 201, 'allowed' => ['CType' => 'Text,Linkliste,Buttonlinkliste']],
],
]
))
->setBackendTemplate('EXT:theme/Resources/Private/Container/BackendPreviews/PanelPreview.html')
->addGridPartialPath('EXT:theme/Resources/Private/Container/Partials/')
->setRegisterInNewContentElementWizard(false);
GeneralUtility::makeInstance(Registry::class)->configureContainer($panelConfig);
I would expect the panel to disappear, but it is still there. I flushed the php-cache.
b13/container version: 3.1.10
Typo3 version: 13.4.15

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels