AuxBurger
AuxBurger

Reputation: 143

nested array condition in TYPO3 10.4 LTS

I need a typoscript condition working under TyYPO3 10.4 LTS

I tried

[page["siteLayout"]["headerlarge"] == "yes"]

with several variants like '' or () or point between.

However, none of them is working. Could you please point me to a working solution?

Upvotes: 0

Views: 102

Answers (1)

Bernd Wilke πφ
Bernd Wilke πφ

Reputation: 10791

As the manual shows your syntax is correct.

But is your data structure correct?

As page is a database record I think you have no 2nd dimension.

Are you looking for something like:

[page["siteLayout"] == "headerlarge"]

Upvotes: 1

Related Questions