Page 1 of 1

Navigator items and levels parameters together don’t work

Posted: Wed Jun 26, 2019 3:26 pm
by 10010110
I’m currently converting a 1.12.2 site to version 2.2.10 and originally I had {menu loadprops=0 number_of_levels='2' items='page1,page2'} in my template. I’ve converted that to the similar {Navigator loadprops=0 number_of_levels='2' items='page1,page2'} and am using the default minimal_menu template but it only shows the links to the items, not their children. Is this a bug or a feature? Is there anything I’m missing?

Re: Navigator items and levels parameters together don’t wor

Posted: Wed Jun 26, 2019 3:57 pm
by DIGI3
I seem to recall that the order matters more now, you could try {Navigator loadprops=0 items='page1,page2' nlevels=2}

Re: Navigator items and levels parameters together don’t wor

Posted: Wed Jun 26, 2019 6:20 pm
by 10010110
Oh yeeeeeah! ;D
It doesn’t say anything about this in the help. And it feels strange that the order matters at all. Why is that? That’s error prone (as I’ve demonstrated).