Skip to content

Commit

Permalink
Merge pull request #569 from extcode/bugfix/use_explicit_keys_in_item…
Browse files Browse the repository at this point in the history
…s_configuration

[BUGFIX] Use explicit keys in items configuration
  • Loading branch information
extcode authored Sep 30, 2024
2 parents 7807a3c + 4fdc822 commit 560a455
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 560a455

Please sign in to comment.