[TYPO3] If not
Dmitry Dulepov [typo3]
dmitry at typo3.org
Tue Feb 5 13:50:17 CET 2008
Hi!
Nino Katic wrote:
> I use this:
>
> [globalVar = TSFE:id = 1]
>
> some TS
>
> [end]
>
> to simulate if pid = 1 then something
>
> How can i simulate if pid != 1 ?
[globalVar = TSFE:id > 1] will do for pid=1
for others:
[globalVar = TSFE:id = 12345]
...
[else]
...
[global]
Eveything is described in TSRef, section about conditions.
--
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"
More information about the TYPO3-english
mailing list