Attention
TYPO3 v6 has reached its end-of-life April 18th, 2017 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.
There is no further ELTS support. It is strongly recommended updating your project.
Conditions¶
General syntax¶
Each condition is encapsulated by square brackets. For a list of available conditions see below.
"[ELSE]" is available as else operator. It is a condition, which will return TRUE, if the previous condition returned FALSE.
Each condition block is ended with "[GLOBAL]".
Example:¶
[browser = msie]
# TypoScript Code for users of Internet Explorer.
[ELSE]
# TypoScript Code for users of other browsers.
[GLOBAL]
General notes¶
Hint
For full explanations about conditions, especially about condition syntax, please refer to the according chapter in "TYPO3 Explained".