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

Dan Osipov dosipov at phillyburbs.com
Tue Jun 9 18:41:18 CEST 2009


I think that's still as confusing as the current version.

Dan Osipov
Calkins Media
http://danosipov.com/blog/

Martin Kutschker wrote:
> 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