Add four-column grid container
This commit is contained in:
+14
-1
@@ -27,6 +27,19 @@ call_user_func(function () {
|
||||
)
|
||||
);
|
||||
|
||||
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\B13\Container\Tca\Registry::class)->configureContainer(
|
||||
new \B13\Container\Tca\ContainerConfiguration(
|
||||
'ep_container_quarters',
|
||||
'Vierspalter',
|
||||
'25/25/25/25 Aufteilung',
|
||||
[
|
||||
[
|
||||
['name' => 'Elemente', 'colPos' => 300],
|
||||
]
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\B13\Container\Tca\Registry::class)->configureContainer(
|
||||
new \B13\Container\Tca\ContainerConfiguration(
|
||||
'ep_container_teasergroup',
|
||||
@@ -56,7 +69,7 @@ call_user_func(function () {
|
||||
'
|
||||
];
|
||||
|
||||
foreach (['ep_container_halves', 'ep_container_thirds', 'ep_container_teasergroup'] as $field) {
|
||||
foreach (['ep_container_halves', 'ep_container_thirds', 'ep_container_quarters', '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