[TYPO3-english] TS conditions

Niels Fröhling niels.froehling at adsignum.com
Wed Oct 29 05:02:24 CET 2008


Hy;

Somebody got an idea how to realize this (conceptual) TypoScript in real?:

if {
    value = 1

    isLessThan.if {
        value =
        equals.dataWrap = {gpvar:month}
    }

    isFalse.if {
        field = field_date
        matches.dataWrap = /\.0?{gpvar:month}[\. ]/
    }

    negate = 1
}

 It reads basically like

"true = (no month-GET || field_date == month-GET [with points and 
spaces, possibly leading 0])"

 Thanks, I really don't have any serious idea for a solution
    Niels



More information about the TYPO3-english mailing list