[TYPO3-english] Can't get typoscript date conditions to work

JoH asenau info at cybercraft.de
Tue Aug 24 17:06:13 CEST 2010


> I need to display content that is appropriate to the current season.
> As a start, I test to just display the name of the current season. But
> while 9 prints out "08" as expected, how come the 6 fail to display
> anything? "08" is in its isInList.
 

5 = TEXT
5.value = Spring
5.if {
    value = 03,04,05
    isInList.data = date:m
}

See the difference? ;-)

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com


More information about the TYPO3-english mailing list