Posted by & filed under TYPO3.

New operators can be used in conditional statements.
=         Requires exact match

>         The var must be greater than the value

<         The var must be less than the value

<=        The var must be less or equal than the value

>=        The var mast be greater or equal than the value

!=        The var must be not equal to the value

Here are some examples


# Possible before
[globalVar = GP:test = 1]
[globalVar = GP:test < 1]
[globalVar = GP:test > 1]
#Possible now
[globalVar = GP:test <= 1]
[globalVar = GP:test >= 1]
[globalVar = GP:test == 1]
[globalVar = GP:test != 1]

More info:
RFC: #9661: extend condition for globalVar
http://bugs.typo3.org/view.php?id=9661
http://bugs.typo3.org/view.php?id=4745

Leave a Reply

  • (will not be published)