• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Nodehandler problem with childnodes



This is my current node tree:

When i view the indexpage, i'm getting the "root node", but the nodehandler doesn't get any childnodes when renderNodeForTree gets called.
I've started debugging and $renderedChildren was always an empty array instead of including the childnodes.

Is there something i haven't called, or why does this not include my childnodes?
I've checked the code and AFAIK the XenForo_ViewPublic_Helper_Node::renderNodeTree should handle this, so i don't need to do anything, or? So what's wrong with my code?:)

    public function renderNodeForTree(XenForo_View $view, array $node, array $permissions,
        array $renderedChildren, $level
        $node['article_count'] = $this->_getCategoryModel()->countArticlesInCategory($node); // TODO das gehört ausgelagert
        return $view->createTemplateObject('ragtek_article_node', array(
                                                                      'level' => $level,
                                                                      'category' => $node,
                                                                      'renderChildrend' => $renderedChildren
My node template also includes thechildren part(but i don't see it because of the empty array)
                <xen:if is="{$renderedChildren}">
                    <div class="Popup subForumsPopup">
                        <a href="{xen:link forums, $forum}" rel="Menu" class="cloaked" data-closemenu="true"><span class="dt">{xen:phrase sub_forums}:</span> {xen:number $forum.childCount}</a>

                        <div class="Menu JsOnly subForumsMenu">
                            <div class="primaryContent menuHeader">
                                <div class="muted">Unterkategorien</div>
                            <ol class="secondaryContent blockLinksList">
                            <xen:foreach loop="$renderedChildren" value="$child">
                                {xen:raw $child}