Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
i have created a new section, derived from BaseTree, added first level nodes and now want to add child nodes to those first level nodes.
When i do the following, he adds the first level nodes as childnodes of newNode:
newNode.Source = GetTreeServiceUrl();
I am quite confused ifa) i have to implement my own treeservice,b) i have to override the GetTreeServiceUrl method andc) where RenderSubtree (as mentioned by richard in the forum at http://our.umbraco.org/forum/developers/extending-umbraco/4928-Child-nodes-in-custom-Section-?p=0#comment17816) comes in.
The wiki pages are not so helpful as they just state to use the GetTreeServiceUrl method and remain silent on how to customize that.
Cheers and thanks,André
As resources to look for: Tim made a blog post about creating an own section: http://www.nibble.be/?p=71
And in umbraco.tv there are five vids (not free): http://umbraco.tv/documentation/videos/for-developers/custom-sections,trees-and-pages/adding-a-custom-tree
Thomas
Hi Thomas,
thanks for that, but Tims blog does not deal with multi-level trees and i'm not sure the videos do either (maybe video number 5 of that series, but i'm not sure). I guess, i have to wait until we purchase umbraco to get access to umbraco.tv.
Cheers,André
@atze187 - have you found a workable solution to this?
Dirk has also written a good article on how to do this - http://www.netaddicts.be/articles/building-a-custom-section-to-manage-external-data.aspx
@slace - thanks, exactly what i was looking for.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Custom tree with child nodes
Hi,
i have created a new section, derived from BaseTree, added first level nodes and now want to add child nodes to those first level nodes.
When i do the following, he adds the first level nodes as childnodes of newNode:
I am quite confused if
a) i have to implement my own treeservice,
b) i have to override the GetTreeServiceUrl method and
c) where RenderSubtree (as mentioned by richard in the forum at http://our.umbraco.org/forum/developers/extending-umbraco/4928-Child-nodes-in-custom-Section-?p=0#comment17816) comes in.
The wiki pages are not so helpful as they just state to use the GetTreeServiceUrl method and remain silent on how to customize that.
Cheers and thanks,
André
As resources to look for: Tim made a blog post about creating an own section: http://www.nibble.be/?p=71
And in umbraco.tv there are five vids (not free): http://umbraco.tv/documentation/videos/for-developers/custom-sections,trees-and-pages/adding-a-custom-tree
Thomas
Hi Thomas,
thanks for that, but Tims blog does not deal with multi-level trees and i'm not sure the videos do either (maybe video number 5 of that series, but i'm not sure). I guess, i have to wait until we purchase umbraco to get access to umbraco.tv.
Cheers,
André
@atze187 - have you found a workable solution to this?
Dirk has also written a good article on how to do this - http://www.netaddicts.be/articles/building-a-custom-section-to-manage-external-data.aspx
@slace - thanks, exactly what i was looking for.
is working on a reply...