Copied to clipboard

Flag this post as spam?

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


  • Bo Kingo Damgaard 157 posts 456 karma points
    Feb 03, 2011 @ 10:19
    Bo Kingo Damgaard
    0

    Render part of content tree in custom section

    Hi

    I've been trying to figure out how to render part of the content tree in a custom section. I've created a custom section and I'm able to create a tree with various nodes in that section. However, I want to be able to render a part of the content section given by fx. a node id, as a node in the custom section tree.

    Does anyone know how to do this without completely copying loadContent class from the core?

    Kind regards

    Bo Kingo

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Feb 03, 2011 @ 10:50
    Ismail Mayat
    0

    bo,

    take a look at code for uComponents multi node tree picker you may be able to figure out a way?  http://ucomponents.codeplex.com/

  • Bo Kingo Damgaard 157 posts 456 karma points
    Feb 10, 2011 @ 11:00
    Bo Kingo Damgaard
    0

    Hi Ismail

    I did, but i sort of requires to duplicate the code from the core, because all I wanted to do was change the _StartNodeID field in umbraco.loadContent but I can't and if I override StartNodeID property and return a different node, the tree renders BUT the top node is marked as "not published".

    I think I may have to inherit BaseContentTree and copy the core code

    /Bo

Please Sign in or register to post replies

Write your reply to:

Draft