[TYPO3] seasonal content

Bas van der Togt b.vandertogt at profinit.com
Mon Nov 20 16:14:25 CET 2006


Thank you for you reply Dmitry!
Now i have this, but it's still not working:

# Image
includeLibs.tx_season = fileadmin/templates/class.tx_season.php

temp.Image = IMAGE
temp.Image {
   file.width = 800
   file.height = 250
}

[userFunc = user_isSeason(1)]
temp.Image.file = fileadmin/templates/images/image_spring.jpg
[end]

[userFunc = user_isSeason(2)]
temp.Image.file = fileadmin/templates/images/image_summer.jpg
[end]

[userFunc = user_isSeason(3)]
temp.Image.file = fileadmin/templates/images/image_autumn.jpg
[end]

[userFunc = user_isSeason(4)]
temp.Image.file = fileadmin/templates/images/image_winter.jpg
[end]

Dmitry Dulepov schreef:
> Hi!
> 
> Bas van der Togt wrote:
>> I want to use this script too.
>> I have the following code now but it's not working yet.
>> Can somebody help me please?
> 
> Let's see...
> 
>> # Image
>> config.includeLibrary = fileadmin/templates/class.tx_season.php
> 
> It looks like a class.
> 
>> [userFunc = user_isSeason(1)]
> 
> It does not look like a class method call.
> 



More information about the TYPO3-english mailing list