Copied to clipboard

Flag this post as spam?

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


  • Ryios 122 posts 263 karma points
    Jul 21, 2015 @ 21:08
    Ryios
    0

    Can I had a a menu item to an existing tree controller without "Do Something Else"

    As a prime example, when you click a node under Content,

    It shows

    "Create an item under XYZ"

    Then I see the items I can create.

    What I want to do is create a new section under there

    "Change Member Permissions for Test"

    Or optionally, I want it to show up as a new Tab when I click on the content on the content editor.

    I am using the TreeControllerBase.MenuRendering event to add my menu item to content, and it works. However I have to use the MenuItem.LaunchDialogView to make it work. If I don't it tries to find my view in umbraco/views/content and I don't want to put my view there. And SetActionUrl is private.

    What I don't want is to have to click "Do Something Else -> My Menu -> dialog opens"

    That flow get's missed by non technical back office users and is tedious. I'd rather it either show up as a tab on Click, or a section under "Create an Item".

    Also, I am using e.Menu.NodeId to look up the node for the tree. I only add my menu if the node is based on specific content types.

  • 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