TypoScript · Question 12 of 12
An integrator writes [frontend.user.isLoggedIn] && [tree.level > 1] and wonders why the second condition is ignored. Why?
1 answer is correct. Hard
Show answer
Answer
- D Several pairs of brackets are no longer combined; everything after the first closing bracket silently counts as a comment
Explanation
Since the introduction of the Symfony Expression Language all criteria belong in one pair of brackets: [frontend.user.isLoggedIn && tree.level > 1]. The old chaining fails without an error message, which makes errors hard to find.