Bug #22629
closed
TSConfig manual "contextMenu.pageTree.disableItems =moreoptions" remove also “hide”
Added by Mathew over 14 years ago.
Updated over 6 years ago.
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)
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?
Hi Christopher,
thanks for your response. Sorry, I'm not a coder, I can't provide a patch.
- Target version deleted (
0)
- 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)?
Please see my comments on #19540
I think this could be closed with an update to TSConfig manual
- Category set to Documentation
- Status changed from Needs Feedback to New
- Is Regression set to No
- Subject changed from "contextMenu.pageTree.disableItems =moreoptions" remove also “hide” to TSConfig manual "contextMenu.pageTree.disableItems =moreoptions" remove also “hide”
- Target version set to 7.4 (Backend)
- Target version changed from 7.4 (Backend) to 7.5
- Target version changed from 7.5 to 7 LTS
- Category changed from Documentation to Pagetree
- Target version deleted (
7 LTS)
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.
- 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.
- Related to Bug #84017: TSConfig "options.contextMenu.table.pages.tree.disableItems " seems ignored added
Also available in: Atom
PDF