Copied to clipboard

Flag this post as spam?

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


  • Steve Morgan 1349 posts 4459 karma points c-trib
    Sep 01, 2014 @ 17:07
    Steve Morgan
    0

    Controlling the dashboard / root node in a custom section

    I've created a new custom section but the one thing I can't seem to sort is the "root" dashboard node. 

    How do I control this?  Ideally I'd like an Umbraco style dashboard page. Any clues?

     

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Sep 10, 2014 @ 17:07
    David Brendel
    100

    Hi Steve,

    for this you have to add your one dashboard into the dashboard.config file of umbraco.

    In this file you can specify what file should be called/loaded/opened when you click on the root node.

    An example xml:

    <section alias='EventCalendarDashboardSection'>
    <areas>
    <area>eventCalendar</area>
    </areas>
            <tab caption='SectionName'>
            <control addPanel='true' panelCaption=''>/path/to/dashboard.html</control>
    </tab>
    </section>
  • Steve Morgan 1349 posts 4459 karma points c-trib
    Sep 10, 2014 @ 18:02
    Steve Morgan
    0

    Perfect. I do still a wierd bug where after loading that dashboard I can click a node in the tree but then after that click my tree is destroyed and the dashboard link seems to try and load something in the right but fails (without error) - I just see a untranslated placeholder 

    [sections_MyCustomSection]

  • Steve Morgan 1349 posts 4459 karma points c-trib
    Sep 10, 2014 @ 18:02
    Steve Morgan
    0

    Note - I'm on 7.1.4 as I found some quirks after upgrading to 7.1.6 which I keep meaning to look at. 

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Sep 11, 2014 @ 10:13
    David Brendel
    0

    Does the tree work right when you haven't clicked on the dashboard before?

    Is the dashboard working right when you click on it the first time?

    Haven't seen this behaviour you describing before...

  • Steve Morgan 1349 posts 4459 karma points c-trib
    Sep 11, 2014 @ 19:11
    Steve Morgan
    0

    I've just tried Tim Geyssens sample project http://www.nibble.be/?p=440 and his tree works without the quirk I'm describing. He doesn't implement the dashboard but after adding your  suggestion it works perfectly. I think I need to compare how I build my custom tree and see where it's going wrong as it's definitely in code (both are v7.1.4).

    Thanks for helping me to narrow down the problem.

    Steve

  • Steve Morgan 1349 posts 4459 karma points c-trib
    Sep 13, 2014 @ 13:47
    Steve Morgan
    0

    David,

    In case you're interested I've solved this issue - it was a mistype of the app path in my routepaths - see http://our.umbraco.org/forum/developers/extending-umbraco/56266-V716-Custom-Section,-Blank-Tree-after-Node-Load?p=0#comment193343

    Thanks for your confirmation that it worked for you - helped me zero in on the issue! 

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Sep 15, 2014 @ 09:17
    David Brendel
    0

    Hi Steve,

    glad to hear that you figured it out. 

Please Sign in or register to post replies

Write your reply to:

Draft