[TYPO3] start and stop function typoscript
Amiran Chyb
amiran.chyb at stopspam.gmail.com
Wed Nov 1 15:31:56 CET 2006
On Wed, 01 Nov 2006 15:13:42 +0100, Bas van der Togt
<b.vandertogt at profinit.com> wrote:
> Now i tried this, but it's also not working.
> The third month of every season does not work.
> Amy other suggestions?
did you try totally atomised version, i.e. one condition/conjuction per
line?
if it works, then try creating bigger conditions and try to guess what was
causing the problem.
# Image
temp.Image = IMAGE
temp.Image {
file.width = 800
file.height = 250
alttext = WYTCH HOUSE Country Decorations
}
# Winter
[month = 12] && [dayofmonth > 20]
temp.Image.file = fileadmin/templates/images/image_winter.jpg
[end]
[month = 1]
temp.Image.file = fileadmin/templates/images/image_winter.jpg
[end]
[month = 2]
temp.Image.file = fileadmin/templates/images/image_winter.jpg
[end]
[month = 3] && [dayofmonth < 21]
temp.Image.file = fileadmin/templates/images/image_winter.jpg
[end]
More information about the TYPO3-english
mailing list