Skip to content
Snippets Groups Projects
Commit 36e6cbb0 authored by Roman Derlemenko's avatar Roman Derlemenko
Browse files

[FIX] Change page, content and submenu types in TCA

parent b8c20e2c
No related branches found
No related tags found
No related merge requests found
......@@ -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,
],
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment