Project

General

Profile

Actions

Bug #76242

closed

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

Added by Benjamin Robinson almost 8 years ago. Updated over 5 years ago.

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

screenshot1.png (43.3 KB) screenshot1.png Benjamin Robinson, 2016-05-20 09:34
screenshot2.png (49.9 KB) screenshot2.png Benjamin Robinson, 2016-05-20 09:34

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #61114: „TCEFORM.tt_content.menu_type.removeItems = 0“ removes the whole „Special Menus“ entry from the new content element wizardClosedGöran Bodenschatz2014-08-21

Actions
Related to TYPO3 Core - Bug #82980: Handling of mixed string and 0 broken for keepItems and removeItems page tsClosed2017-11-12

Actions
Actions

Also available in: Atom PDF