Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How would I add a new item to this menu
It's in the documentation here: https://our.umbraco.com/Documentation/Extending/Section-Trees/trees#menurenderingnotification
Here's an actual example from one of my packages (Diplo.Translator):
https://github.com/DanDiplo/Diplo.Translator/blob/master/Diplo.Translator/Menus/DictionaryNotificationHandler.cs
Don't forget to register your handler in a Composer so it gets added. You can see an example here:
builder.AddNotificationHandler<MenuRenderingNotification, DictionaryNotificationHandler>();
https://github.com/DanDiplo/Diplo.Translator/blob/master/Diplo.Translator/TranslatorComposer.cs
Thanks Dan, that's exactly what I was looking for.
I don't seem to have MenuRenderingNotification ? (umbraco 9.5.1)
needed to add umbraco.cms to my core project.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How do I add an item to the actions menu
How would I add a new item to this menu
It's in the documentation here: https://our.umbraco.com/Documentation/Extending/Section-Trees/trees#menurenderingnotification
Here's an actual example from one of my packages (Diplo.Translator):
https://github.com/DanDiplo/Diplo.Translator/blob/master/Diplo.Translator/Menus/DictionaryNotificationHandler.cs
Don't forget to register your handler in a Composer so it gets added. You can see an example here:
builder.AddNotificationHandler<MenuRenderingNotification, DictionaryNotificationHandler>();
https://github.com/DanDiplo/Diplo.Translator/blob/master/Diplo.Translator/TranslatorComposer.cs
Thanks Dan, that's exactly what I was looking for.
I don't seem to have MenuRenderingNotification ? (umbraco 9.5.1)
needed to add umbraco.cms to my core project.
is working on a reply...