Copied to clipboard

Flag this post as spam?

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


  • letay 2 posts 82 karma points
    Jan 16, 2019 @ 10:56
    letay
    0

    Users tree

    Hello everyone,

    I'm new to Umbraco, and I need to modify the Users tree.

    Actually, my tree look like this :

    enter image description here

    and I need to add the possibility to create a user from AD, like the Member node : enter image description here

    All the logic is ready, but I can' find how to add this menu.

    Thanks all for your help

  • Marc Goodson 1451 posts 9716 karma points MVP 5x c-trib
    Jan 19, 2019 @ 12:06
    Marc Goodson
    100

    Hi letay

    The way you can customise the Menu options for a particular Tree is the handle the TreeControllerBase_MenuRendering event, check which tree is being rendered, and then add your new MenuItem, with a link to the view that implements your functionality.

    https://our.umbraco.com/documentation/extending/section-trees/trees-v7#menurendering

    Can see an example here:

    https://github.com/marcemarc/uSpinMeRightRound/blob/master/Solution/tooorangey.uSpinMeRightRound/App_Start/RegisterEvents.cs

    Where I've added a 'Rotate' option to menu for Media items in the tree.

    hope that's enough to get you started.

    regards

    Marc

  • letay 2 posts 82 karma points
    Jan 21, 2019 @ 10:54
    letay
    0

    Thank you very much Mark, that's all I need !

  • 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