Bug #22629
closedTSConfig manual "contextMenu.pageTree.disableItems =moreoptions" remove also “hide”
0%
Description
When I set in TSconfig:
options.contextMenu.pageTree.disableItems = moreoptions
also the item “hide” will removed.
On the other hand if leave the item “Moreoptions” I can’t disable items
“Mount as treeroot”, “Export to” and “Import from”.
All in all a dissatisfying situation in configuration non-admin-users.
See also Bug #21849:
It’s similarly: When configuring to remove “Edit” from clickmenu, it also removes “Edit Page Properties”. - But I think it is minor because “edit” and “edit_pageheader” are the same action in the pagetree and pageList context menu.
http://typo3.org/documentation/document-library/core-documentation/doc_core_tsconfig/4.3.2/view/1/4/#id2344103
(issue imported from #M14359)
Updated by Chris topher over 14 years ago
Hi Mathew,
It would be great, if each option could be hidden with an entry of its own.
There should not be dependencies á là hide A and this automatically hides B and C, but one name to hide one option (covering all).
Can you provide a patch?
Updated by Mathew over 14 years ago
Hi Christopher,
thanks for your response. Sorry, I'm not a coder, I can't provide a patch.
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Riccardo De Contardi over 11 years ago
Please see my comments on #19540
I think this could be closed with an update to TSConfig manual
Updated by Alexander Opitz about 11 years ago
- Category set to Documentation
- Status changed from Needs Feedback to New
- Is Regression set to No
Updated by Alexander Opitz about 11 years ago
- Subject changed from "contextMenu.pageTree.disableItems =moreoptions" remove also “hide” to TSConfig manual "contextMenu.pageTree.disableItems =moreoptions" remove also “hide”
Updated by Mathias Schreiber almost 10 years ago
- Target version set to 7.4 (Backend)
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Mathias Schreiber about 9 years ago
- Category changed from Documentation to Pagetree
- Target version deleted (
7 LTS)
Updated by Riccardo De Contardi over 7 years ago
the context menu in 8.7 has been refactored and the documentation has been updated - see https://docs.typo3.org/typo3cms/TSconfigReference/UserTsconfig/Options/Index.html#contextmenu-table-tablename-context-disableitems
If you write in your User TSConfig:
options.contextMenu.table.pages.tree.disableItems = newWizard, openListModule, mountAsTreeRoot
This will still leave the items "export to .t3d", "import from .t3d" and "access" in the "more options" submenu. It seems that these items are still not handled in /sysext/backend/Classes/ContextMenu/ItemProviders/PageProvider.php
options.contextMenu.table.pages.tree.disableItems = more
will not work, too.
Updated by Riccardo De Contardi over 6 years ago
- Status changed from New to Closed
I close this one for the following reasons:
1) options.contextMenu.table.pages.tree.disableItems = moreoptions
is no more valid
2) It is possible now (TYPO3 8.7.10) to remove the whole "more" options of the context menu in pagetree and all its subelements using:
options.contextMenu.table.pages.tree.disableItems = newWizard, openListModule, mountAsTreeRoot, exportT3d, importT3d
There is an issue on this topic with TYPO3 9.2.0, but I will fill a different issue for that.
If you think that this is the wrong decision please reopen it or open a new issue with a reference to this one.
Updated by Riccardo De Contardi over 6 years ago
- Related to Bug #84017: TSConfig "options.contextMenu.table.pages.tree.disableItems " seems ignored added