Hi Riccardo,

This DOES NOT WORK
[globalVar=TSFE:id=52]&&[dayofyear<365]
page.1=HTML
page.1.value=Hello world
[global]
NEITHER THIS
[globalVar=TSFE:id=52]&&[dayofyear<=365]
page.1=HTML
page.1.value=Hello world
[global]

TS conditions can be very confusing indeed, especially due to the horribly weird syntax that they use. There *must* be an "="operator all the time, between the variable to be tested and the condition itself. The condition itself uses a comparison operator. So the right syntax for:

[dayofyear<365]

is:

[dayofyear = <365]

I've added blanks so that the separation is clearer. For your second case, the proper syntax is:

[dayofyear = <=365]

HTH

--

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to