I would like to have a custom context menu (right click) for items under a specific item. I have a folder template (named differently ofcourse) of which on all instances of this template I would like to have a custom context menu.
I copied the Default context menu in de core database and changed some of the items under it.
- Sitecore
- Content
- Applications
- Content Editor
- Context Menues
- Default
- Copy of Default
- Context Menues
- Content Editor
- Applications
- Content
I’ve selected this item (“Copy of Default”) at several places under Appearance\Context Menu however this doesn’t work…:
- folder template
- folder template standard values
- folder instance
How do I use my custom context menu of specific items in the content editor?
This has been reported as a bug with Sitecore. A quick look at the code and it looks like its looking into the context db (master database) for the custom context menu instead of core where the menu lives. When it’s not found then it uses the default. I haven’t tried this but try copying your custom menu to somewhere in the master database and then pointing to this item – you may have to switch to raw values and paste the ID in directly as the field options are all coming from the core db. Otherwise you’ll have to override the code behind of the content editor itself.