How can I make the navigation portlet show children even for unselected folders? I mean initial tree state is fully expanded (at least for one level, ie: direct children).
I'm looking at INavtreeStrategy, SitemapNavtreeStrategy and INavigationQueryBuilder but no insights so far.
I got it looking at Products/CMFPlone/browser/sitemap.py
I just had to use its query builder instead. Here's the code:
Then I registered a portlet renderer with:
See the documentation of ExtendedPathIndex
http://plone.org/products/extendedpathindex
A combination of navtree and depth parameter should give you what you need.