diff --git a/Configuration/TCA/tx_nlmenubuilder_domain_model_menuitem.php b/Configuration/TCA/tx_nlmenubuilder_domain_model_menuitem.php index 81c4cfc0f22544bfc5f8eabeec700cce61db7cec..e53876000374edc358637c89a7f56fb19bb33f6e 100644 --- a/Configuration/TCA/tx_nlmenubuilder_domain_model_menuitem.php +++ b/Configuration/TCA/tx_nlmenubuilder_domain_model_menuitem.php @@ -260,17 +260,25 @@ return [ 'exclude' => false, 'label' => "$ll:tx_nlmenubuilder_domain_model_menuitem.content", 'config' => [ - 'type' => 'text', - 'enableRichtext' => true, - 'richtextConfiguration' => 'default', - 'fieldControl' => [ - 'fullScreenRichtext' => [ - 'disabled' => false, - ], + 'type' => 'inline', + 'allowed' => 'tt_content', + 'foreign_table' => 'tt_content', + 'foreign_sortby' => 'sorting', + 'minitems' => 1, + 'maxitems' => 99, + 'appearance' => [ + 'collapseAll' => true, + 'expandSingle' => true, + 'levelLinksPosition' => 'bottom', + 'useSortable' => true, + 'showPossibleLocalizationRecords' => true, + 'showRemovedLocalizationRecords' => true, + 'showAllLocalizationLink' => true, + 'showSynchronizationLink' => true, + 'enabledControls' => [ + 'info' => false, + ] ], - 'cols' => 40, - 'rows' => 15, - 'eval' => 'trim,required', ], ], @@ -278,21 +286,14 @@ return [ 'exclude' => true, 'label' => "$ll:tx_nlmenubuilder_domain_model_menuitem.submenu", 'config' => [ - 'type' => 'selectMultipleSideBySide', + 'type' => 'select', + 'renderType' => 'selectMultipleSideBySide', 'foreign_table' => 'tx_nlmenubuilder_domain_model_menu', - 'foreign_field' => 'menuitem', 'size' => 10, 'autoSizeMax' => 30, - 'minitems' => 1, 'maxitems' => 1, + 'minitems' => 1, 'multiple' => 0, - 'appearance' => [ - 'collapseAll' => 0, - 'levelLinksPosition' => 'top', - 'showSynchronizationLink' => 1, - 'showPossibleLocalizationRecords' => 1, - 'showAllLocalizationLink' => 1 - ], 'fieldControl' => [ 'editPopup' => [ 'disabled' => false, @@ -304,6 +305,7 @@ return [ 'disabled' => true, ], ], + 'enableMultiSelectFilterTextfield' => true, ], ],