We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9550
    • 123 Posts
    Ok, I’ve setup an empty template called "test" with just the following snippet call:

    [[!getResources?
       &parents=`0`
       &tpl=`get-nav-test`
       &sortby=`menuindex`
       &depth=`1`
    ]]
    


    get-nav-test chunk contains only ONE this => [[+pagetitle]]

    test template is assigned to a document also called "test" which is set to be hidden from menu.

    when I preview test.html, i get the following output

    team building
    cabinet
    contact
    reservations
    space man

    this makes ZERO sense. I should be getting the following:

    home
    about
    menu
    reservations
    contact
    cabinet
    team building

    UPDATE: thanks to some other threads that pointed out the default depth is 5. And Depth 1 means to drill down 1 further depth. Problem solved.

    Note: I should really get some sleep smiley