[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[TYPO3] start and stop function typoscript



Hello list,

I want to start and stop a picture of mine every season.
Spring has to start 20 th of march and stop 21 th of june for example.
What am i doing wrong in the following code:

My code:
# Image
[month = 3] && [dayofmonth = 20]
temp.Image = IMAGE
temp.Image {
   file = fileadmin/templates/images/image_spring.jpg
   file.width = 800
   file.height = 250
}
[end]

[month = 6] && [dayofmonth = 21]
temp.Image = IMAGE
temp.Image {
   file = fileadmin/templates/images/image_summer.jpg
   file.width = 800
   file.height = 250
}
[end]

[month = 9] && [dayofmonth = 23]
temp.Image = IMAGE
temp.Image {
   file = fileadmin/templates/images/image_autumn.jpg
   file.width = 800
   file.height = 250
}
[end]

[month = 12] && [dayofmonth = 21]
temp.Image = IMAGE
temp.Image {
   file = fileadmin/templates/images/image_winter.jpg
   file.width = 800
   file.height = 250
}
[end]

cheers,
Bas
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english