Issue Bug Closed

#76242Special Menus removed from new content element wizard if TSconfig menu_type.keepItems = 1,2

Benjamin Robinson 05/20/16, 09:35 updated 10/02/18, 11:13

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.

Reviews 2