codefog/contao-news_categories

News Categories List: Subcategories appear although they shouldn't be there

Closed this issue · 3 comments

I set in my News Categories List module that the subcategories shouldn't appear - even if I choose only the categories that should appear it doesn't work. I guess this is an issue. See the video.
News categories_error

I am having the same issue.

Actually it's not a bug as this module always render the whole tree. Until I come up with a clever solution, for now I would suggest that you use a custom nav_* template that does not display subcategories.

The "Include the subcategories" checkbox is in fact used only to calculate the news categories usage – the actual number of news assigned to each category.

I have added the "Stop level" field in 3.2.0 which works exactly the same as the one in navigation module.