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.

condition boolean

Condition expression conforming to Fluid boolean rules

pageUid integer

Parent page to check

includeHidden boolean

DEPRECATED: Include hidden pages

includeAccessProtected boolean

Include access protected pages

includeHiddenInMenu boolean

Include pages hidden in menu

showHiddenInMenu boolean

DEPRECATED: Use includeHiddenInMenu

ViewHelper Resources

Schema Resources