Actions
Bug #76242
closedSpecial Menus removed from new content element wizard if TSconfig menu_type.keepItems = 1,2
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-05-20
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
I have hidden unwanted options from the menu type of the special menus (css_styled_content – tt_content.menu) via TSconfig in TYPO3 7.6.6:
TCEFORM.tt_content.menu_type.keepItems = 1,2
The options are hidden from the "Menu Type" dropdown as expected, but one side affect is that the content element type "Special Menus" disappears from the "New content element wizard". Tested in Safari and Firefox. See screenshot1.
If item 0 (Menu of selected pages) is kept ...
TCEFORM.tt_content.menu_type.keepItems = 0,1,2
... the content element type reappears. screenshot2.
Workaround: It is possible to use "removeItems" instead of "keepItems" and remove all unwanted options manually:
TCEFORM.tt_content.menu_type.removeItems = 0,3,4,5,6,7,8,categorized_pages,categorized_content
This works as axpected and does not hide the content element type.
Files
Actions