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
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).
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?
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:
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]
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.
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...
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
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!
Hi Steve,
glad to hear that you figured it out.
is working on a reply...