Documentation · ViewHelper reference

XSD schema file | vhs 2.1.3

Condition / Page / IsChildPageViewHelper

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.

  • Tag usage example

    < then="[mixed]" else="[mixed]" pageUid="123" respectSiteRoot="1">
    	<!-- tag content - may be ignored! -->
  • Inline usage example

    { [mixed], else: [mixed], pageUid: 123, respectSiteRoot: 1)}


Argument Description Type

Value to be returned if the condition if not met.

pageUid integer
respectSiteRoot boolean

Value to be returned if the condition if met.

Required attribute

Revision history

commit da7677bc74f14e9a9300e4ba4487e52c3cb97642
Author: Claus Due <*****>
Date:   Sun Apr 20 01:13:33 2014 +0200

    [TASK] Switch to namespaces

commit 8bb2fc5ee124ba19b0a0ab8e061c9a153fc4651f
Author: Xaver Maierhofer <*****>
Date:   Sun Jan 18 17:56:13 2015 +0100

    [TASK] Reference Copyright to file