[TYPO3-project-4-3] Variation for TypoScript "if"

Martin Kutschker masi-no at spam-typo3.org
Tue Jun 9 18:21:00 CEST 2009


Hi!

Here follows the syntaxt for a sane version of "if":

if = <COMPARISON>
if.not = <boolean>

if = AND | OR
if.10 =
if.20 =
etc

if = EQUAL | GREATER | GREATEROREQUAL | LESS | LESSOREQUAL
if.value =
if.comparand =

if = BEGINS / CONTAINS / ENDS / MATCHES
if.value =
if.needle =
if.caseSensitive = <boolean>

# matches empty string and digit 0
if = EMPTY
if.value =

# matches empty string
if = BLANK
if.value =

# matches digit 0 (same as EQUAL/comparand=0)
if = ZERO
if.value =

Masi


More information about the TYPO3-project-4-3 mailing list