Configuration and utilities · Question 10 of 12

A TypoScript block should apply to page 12 and all its subpages. Which condition fits?

1 answer is correct. Medium

Show answer

Answer

  • A [12 in tree.rootLineIds]

Explanation

tree.rootLineIds contains the uids of all pages from the root to the current page, so the condition is true on page 12 and in its whole subtree. page["uid"] only matches the page itself, page["pid"] only its direct subpages, not page 12 itself or deeper levels. tree.level is the depth in the page tree.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications