Project

General

Profile

Actions

Feature #39700

closed

TypoScript: Allow easy comparison against multiple values

Added by Stefan Neufeind about 12 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2012-08-11
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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]


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #45165: Wrong result on unequal globalVar conditionsClosedOliver Hader2013-02-05

Actions
Has duplicate TYPO3 Core - Feature #45867: Allow easy conditions against multiple values/a listClosed2013-02-26

Actions
Actions

Also available in: Atom PDF