Skip to main content

I am currently working on an extension to Umbraco that needed an extra menu item on the Document Types menu in the Settings section, my first thought was to use the BeforeNodeRender event to add the menu item, but this event only fires on the Content and Media menu trees.See: Codeplex Issue 21623The "temporary" solution has been to extend the "loadNodeTypes" class, I say temporary because I assume that the core team may well extend the event functionality to the entire menu tree in the future which would be much better and would prevent you from having to complete override the menu items.This was suggested by Slace on my "is it possible to add an item to the context menu in tree's other than media content" post on theour.umbraco.org site.There are three things you need to do:

1) Override the loadNodeTypes

2) Create a new Action to be used on the menu

3) Update the UmbracoAppTree table, my case I changed the following:TreeHandlerType
From: loadNodeTypes
To: loadNodeTypesMenuTreeHandlerAssembly
From: umbraco
To: Vizioz.xMind2UmbracoAnd the result is: