Copied to clipboard

Flag this post as spam?

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


  • peng 2 posts 60 karma points
    Aug 25, 2014 @ 01:48
    peng
    0

    Hide the tree in backoffice

    Hi guys,

    Could you please let me know if it is possible to hide the "tree" in backoffice? I'm looking at how to create a customized "dashboard" in backoffice and followed up the article of http://www.enkelmedia.se/blogg/2013/11/22/creating-custom-sections-in-umbraco-7-part-1.aspx

    However my situation is that we only need the dashboard view, no tree control is needed.

    thanks.

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Aug 25, 2014 @ 12:08
    Jeroen Breuer
    100

    Hello,

    A dashboard is part of a section and a section always needs a tree. If you only want  to display the dashboard perhaps it's better to just add the dashboard to the developer or settings section.

    Jeroen

  • Stefaan Christiaens 5 posts 116 karma points
    Feb 06, 2017 @ 11:38
    Stefaan Christiaens
    0

    I managed to do this in code:

    <script>
    
        function CustomDashboardController($scope, appState) {
            appState.setGlobalState("showNavigation", false);
        }
    </script>
    <style>
        @media (min-width: 1101px) {
            #contentwrapper, #umb-notifications-wrapper {
                left: 80px !important;
            }
        }
    </style>
    

    The tree will be shown again tho when resizing the browser window.

  • 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