[TYPO3-english] R: R: condition operators in TSREF

De Contardi Riccardo Riccardo.DeContardi at bhuman.it
Thu Oct 21 16:45:42 CEST 2010


But...wait!
This works: (TYPO3 4.3.3)

[globalVar=TSFE:id=52]&&[dayofyear=<365]
page.1=HTML
page.1.value=Hello world
[global]

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]

:confused

Thank you for your patience
--------------------------------------------
Riccardo De Contardi - Web Developer
B Human Srl - www.bhuman.it
Via Canzio, 15 - 20131 Milano
TEL +39-02-20.23.271 - FAX +39-02-20.240.561
--------------------------------------------


-----Messaggio originale-----
Da: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] Per conto di François Suter
Inviato: giovedì 21 ottobre 2010 16:02
A: typo3-english at lists.typo3.org
Oggetto: Re: [TYPO3-english] R: condition operators in TSREF

Hi Riccardo,

> Thank you for your answer; BTW: in the same manual, same section (conditions), subsection globalVar I read that the operators Less or equal and More or equal are "<=" ">=". Are they wrong, too? Maybe they are "=<" and "=>" ?

No, ">=" and "<=" are correct. It's me who got one wrong when typing my answer before. Sorry for the confusion.

Cheers

-- 

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

**************************************************

Chi riceve il presente messaggio e' tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e' pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilita connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.

The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.




More information about the TYPO3-english mailing list