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?
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
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
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/
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
is working on a reply...