Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Shane 40 posts 193 karma points
    Jan 13, 2015 @ 12:14
    Shane
    0

    Umbraco 7 - Add context menu item

    Hi guys,

    Is there any documentation for adding a custom context menu action? I can't find it anywhere. For example, if the item is of a certain document type I want to be able to add a custom action when right clicking on it under the "Content" section.

    Thanks

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 13, 2015 @ 12:28
    Jan Skovgaard
    0

    Hi Shane

    I'm not sure any comprehensive documentation exists currently but perhaps you can make use of this ghist? https://gist.github.com/perploug/7334403

    /Jan

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jan 13, 2015 @ 12:29
    Dennis Aaen
    0

    Hi Shane,

    Here is a similar post when the same topic http://our.umbraco.org/forum/umbraco-7/using-umbraco-7/50475-Add-context-menu-item-in-Umbraco-7, perhaps you can get something out of the by look at DaveĀ“s comment.

    Hope this helps,

    /Dennis

  • Shane 40 posts 193 karma points
    Jan 13, 2015 @ 13:01
    Shane
    101

    Thanks guys, I've found the event I need to use. Documentation is here:

    http://our.umbraco.org/documentation/extending-umbraco/section-trees/trees-v7

    The event I needed was the bottom one - "TreeControllerBase.MenuRendering"

    Thanks

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies