[TYPO3-english] Conditions on starttime and endtime

Sergio Catalá scatala.enet at gmail.com
Thu Apr 18 16:24:01 CEST 2013


Hi list,

I have the next Typoscript to display a certain field when its date is 
between field_starttime and field_endtime:

10 = COA
10 {
     if.value.data = date:U
     if.isLessThan.field = field_starttime
     if.isGreaterThan.field = field_endtime
}

The problem is it fails when the field_endtime is empty. How could I 
solve this?

Thanks in advance,
Sergio



More information about the TYPO3-english mailing list