Skip to content

Commit

Permalink
[BUGFIX] Use explicit keys in items configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
extcode committed Sep 30, 2024
1 parent 096362b commit 4fdc822
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Configuration/TCA/Overrides/pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
$_LLL_db = 'LLL:EXT:cart/Resources/Private/Language/locallang_db.xlf:';

$GLOBALS['TCA']['pages']['columns']['doktype']['config']['items'][] = [
$_LLL_db . 'pages.doktype.181',
181,
'apps-pagetree-page-cart-cart',
'label' => $_LLL_db . 'pages.doktype.181',
'value' => 181,
'icon' => 'apps-pagetree-page-cart-cart',
];
$GLOBALS['TCA']['pages']['columns']['module']['config']['items'][] = [
$_LLL_db . 'tcarecords-pages-contains.cart_coupons',
'coupons',
'apps-pagetree-folder-cart-coupons',
'label' => $_LLL_db . 'tcarecords-pages-contains.cart_coupons',
'value' => 'coupons',
'icon' => 'apps-pagetree-folder-cart-coupons',
];
$GLOBALS['TCA']['pages']['columns']['module']['config']['items'][] = [
$_LLL_db . 'tcarecords-pages-contains.cart_orders',
'orders',
'apps-pagetree-folder-cart-orders',
'label' => $_LLL_db . 'tcarecords-pages-contains.cart_orders',
'value' => 'orders',
'icon' => 'apps-pagetree-folder-cart-orders',
];

$GLOBALS['TCA']['pages']['ctrl']['typeicon_classes'][181] = 'apps-pagetree-page-cart-cart';
Expand Down

0 comments on commit 4fdc822

Please sign in to comment.