Copied to clipboard

Flag this post as spam?

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


  • atze187 160 posts 215 karma points
    Nov 06, 2009 @ 11:38
    atze187
    0

    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:

    newNode.Source = GetTreeServiceUrl();

    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é

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Nov 06, 2009 @ 12:19
    Thomas Höhler
    0

    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

  • atze187 160 posts 215 karma points
    Nov 06, 2009 @ 13:07
    atze187
    0

    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é

  • seanrock 158 posts 337 karma points
    Jan 10, 2010 @ 17:24
    seanrock
    0

    @atze187 - have you found a workable solution to this?

  • Aaron Powell 1708 posts 3044 karma points c-trib
    Jan 10, 2010 @ 22:33
    Aaron Powell
    1

    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

  • seanrock 158 posts 337 karma points
    Jan 11, 2010 @ 15:49
    seanrock
    0

    @slace - thanks, exactly what i was looking for.

  • 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