Issue Feature Closed

#39700TypoScript: Allow easy comparison against multiple values

Stefan Neufeind 08/11/12, 03:53 updated 10/02/18, 12:42

Description

Currently you can only compare against multiple values like:

[globalVar = TSFE:id=10, TSFE:id=12, TSFE:id=15]

While it might be great to have something like
[globalVar = TSFE:id IN (10,12,15)]
that won’t easily work in TypoScript since the commas, brackets etc. would make detection quite hard – according to how TypoScript is currently implemented.

What if we use the “standard” split-operator?
[globalVar = TSFE:id=10|12|15]

Reviews 1