[TYPO3] start and stop function typoscript

Bas van der Togt b.vandertogt at profinit.com
Wed Nov 1 16:01:09 CET 2006


yes i also tried that allready but it does not work too.

Amiran Chyb schreef:
> 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