condition.page.hasSubpages ViewHelper <vhs: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¶
- DataType
 mixed
- Required
 false
- Description
 Value to be returned if the condition if met.
else¶
- DataType
 mixed
- Required
 false
- Description
 Value to be returned if the condition if not met.
pageUid¶
- DataType
 integer
- Required
 false
- Description
 Parent page to check
includeAccessProtected¶
- DataType
 boolean
- Required
 false
- Description
 Include access protected pages