[Typo3-german] Verschachtelte Conditionals?
Elmar Hinz
elmar.DOT.hinz at team.MINUS.red.DOT.net
Wed Nov 16 10:46:41 CET 2005
>
> Das scheint aber leider nicht zu funktionieren, also habe ich es soherum probiert um "eindimensional" zu bleiben:
> [loginUser = *]
> temp.notloggedin_L0 >
> temp.notloggedin_L1 >
> [else]
> temp.loggedin_L0 >
> temp.loggedin_L1 >
> [end]
> lib.theobject < temp.loggedin_L0
> lib.theobject.override < temp.notloggedin_L0
> [globalVar = GP:L = 1]
> lib.theobject < temp.loggedin_L1
> lib.theobject.override < temp.notloggedin_L1
> [end]
> Das funktioniert aber leider auch nicht und hat bereits erste klar erkennbare Zügen von "Herumgefrickel".
>
Von der Idee her nicht schlecht aber doppel-gemoppelt.
Ungetest, hilft aber vielleicht weiter:
[loginUser = *]
temp.L0 ....
temp.L1 ....
temp.L2 ....
[else]
temp.L0 ....
temp.L1 ....
temp.L2 ....
[end]
[globalVar = GP:L < 1]
lib.theobject < temp.L0
[end]
[globalVar = GP:L = 1]
lib.theobject < temp.L1
[end]
[globalVar = GP:L = 2]
lib.theobject < temp.L1
[end]
--
Climate change 2005: Mexico, Guatemala, New Orleans, Sahel, Bangladesh,
Spain, Portugal, Austria, Swiss, France, ...
Production of CO2 is killing people.
Production of CO2 just for fun is killing people just for fun.
More information about the TYPO3-german
mailing list