New #nav.hasVisibleSubFolders Function

As it currently stands, we only have the function #nav.hasSubFolders() which only checks whether there are any subfolders in the structure, but not if those folders are actually to be displayed in the navigation or not (via checkbox on the folder).

This has proven to be an issue multiple times according to these community posts:

What I would ask for is a #nav.hasVisibleSubFolders function that specifically only checks for subfolders that are supposed to be in the navigation.


Our current workaround (for reference)

    $CMS_SET(void, #for.BREAK)$
Tags (1)