From aa097df41597bb91079cdcf9f89ca3bf10fda68d Mon Sep 17 00:00:00 2001 From: Niels Date: Thu, 19 Oct 2023 11:57:04 +0200 Subject: [PATCH] Update tl_content.php --- contao/dca/tl_content.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contao/dca/tl_content.php b/contao/dca/tl_content.php index 63cb92c..dcf1005 100644 --- a/contao/dca/tl_content.php +++ b/contao/dca/tl_content.php @@ -11,6 +11,11 @@ 'sql' => "char(11) NOT NULL default ''" ]; +$GLOBALS['TL_DCA']['tl_content']['fields']['perRow']['eval']['tl_class'] = 'w25 hidden'; +$GLOBALS['TL_DCA']['tl_content']['fields']['perPage']['eval']['tl_class'] = 'w25'; +$GLOBALS['TL_DCA']['tl_content']['fields']['numberOfItems']['eval']['tl_class'] = 'w25'; +$GLOBALS['TL_DCA']['tl_content']['fields']['fullsize']['eval']['tl_class'] = 'm12 w50'; + PaletteManipulator::create() ->addField('flex_gallery_image_height', 'image_legend', PaletteManipulator::POSITION_APPEND) ->applyToPalette('gallery', 'tl_content')