condition.page.isChildPage

Condition: Page is child page

Condition ViewHelper which renders the then child if current page or page with provided UID is a child of some other page in the page tree. If $respectSiteRoot is set to TRUE root pages are never considered child pages even if they are.

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

Value to check

respectSiteRoot

DataType

boolean

Required

false

Description

Value to check