Add container for manual product teasers
This commit is contained in:
+15
-2
@@ -8,7 +8,20 @@ call_user_func(function () {
|
||||
'33/33/33 Aufteilung',
|
||||
[
|
||||
[
|
||||
['name' => 'Elemente', 'colPos' => 300, 'colspan' => 3],
|
||||
['name' => 'Elemente', 'colPos' => 300],
|
||||
]
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\B13\Container\Tca\Registry::class)->configureContainer(
|
||||
new \B13\Container\Tca\ContainerConfiguration(
|
||||
'ep_container_teasergroup',
|
||||
'Teasergruppe',
|
||||
'Für Produktteaser mit groß/klein Umschaltung',
|
||||
[
|
||||
[
|
||||
['name' => 'Teaser', 'colPos' => 300],
|
||||
]
|
||||
]
|
||||
)
|
||||
@@ -30,7 +43,7 @@ call_user_func(function () {
|
||||
'
|
||||
];
|
||||
|
||||
foreach (['ep_container_thirds'] as $field) {
|
||||
foreach (['ep_container_thirds', 'ep_container_teasergroup'] as $field) {
|
||||
$GLOBALS['TCA']['tt_content']['types'][$field] = array_replace_recursive(
|
||||
$GLOBALS['TCA']['tt_content']['types'][$field],
|
||||
$headerConfig
|
||||
|
||||
Reference in New Issue
Block a user