Package

ViewHelpers

ViewHelper Documentation

v:condition.page.hasSubpages

Condition: Page has subpages

A condition ViewHelper which renders the then child if current page or page with provided UID has subpages. By default disabled subpages are considered non existent which can be overridden by setting $includeHidden to TRUE. To include pages that are hidden in menus set $showHiddenInMenu to TRUE.

Arguments

then anySimpleType

Value to be returned if the condition if met.

else anySimpleType

Value to be returned if the condition if not met.

pageUid integer

includeHidden boolean

showHiddenInMenu boolean

ViewHelper Resources

Schema Resources