Copied to clipboard

Flag this post as spam?

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


  • Harshit 64 posts 226 karma points
    Jan 06, 2016 @ 05:53
    Harshit
    0

    Custom menus for a custom tree

    Hi, I am trying to add custom menus for a custom tree and respective view and controller.

    Can anybody please help on this?

    Thanks

  • Dave Woestenborghs 3325 posts 11170 karma points MVP 5x admin c-trib
    Jan 06, 2016 @ 07:16
    Dave Woestenborghs
    0

    Hi Harshit,

    You can add custom menu items by overriding the GetMenuForNode method on your tree controller.

    https://bitbucket.org/dawoe/umbukfestival2014/src/1f7a6c03621a873b25cb709ecac43b298dad2a20/Sources/UmbUkFestival2014.Core/Trees/SesssionTreeController.cs?at=master&fileviewer=file-view-default

    This repository is the code from my Umbraco UK festival talk on creating custom sections : https://bitbucket.org/dawoe/umbukfestival2014

    The video of the talk is on youtube : https://www.youtube.com/watch?v=_sX9eZSn9HI

    Dave

  • 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