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.