[TYPO3-english] correct use of condition "version"

Dubelaar, Bart bart.dubelaar at logica.com
Fri Aug 12 10:47:04 CEST 2011


Put it in the [else] part of your condition. There is an example that matches your case in the core doc:

[browser=netscape]

page.10.value = Netscape
[else]

page.10.value = Not a netscape browser!
[end]

See: http://typo3.org/documentation/document-library/core-documentation/doc_core_ts/4.1.0/view/1/2/

Best regards,


Bart

> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> bounces at lists.typo3.org] On Behalf Of Daniel Doesburg | DOESBURG.BIZ
> Sent: vrijdag 12 augustus 2011 10:10
> To: typo3-english at lists.typo3.org
> Subject: [TYPO3-english] correct use of condition "version"
> 
> Hi,
> 
> I've a problem. Of course. :-) Or better, a question.
> 
> What is the right condition for every browser that is a IE but not
> version 7?
> 
> In TSref:
> 
> version
> Syntax:
> [version = value1, >value2, =value3, <value4, ...]
> 
> So there is no "unequal".
> 
> But what happens if I make 2 conditions? One for <7 and one for >7?
> 
> What if the version is (say) 7.1 (if that's possible)?
> 
> I wonder.
> 
> Kind regards,
> 
> Daniel
> 
> 
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Think green - keep it on the screen.

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.




More information about the TYPO3-english mailing list