[TYPO3] NOT operator (! sign)?

Dmitry Dulepov typo3 at accio.lv
Mon Oct 2 20:01:43 CEST 2006


Hi!

Henrik Rasmussen wrote:
> I wan't a NOT operator, but can't find one..

Sorry, what is "wan't"?

> Heres what I'm trying to do:
> 
> [usergroup = *] && ![PIDinRootline = 1223]
>     something
> [else]
>     something different
> [end]
> [global]
> 
> 
> But I can't get it to work.

Why do you expect it to work? This syntax is invalid, see in TSRef.

> Also tried:
> [PIDinRootline = 1223]
> [else]
>  [usergroup = *]
>     something
>  [else]
>     something different
> [end]
> [global]
> 
> But that's not working either.

No such thing in TSRef either.

> Please help!

Advice: do not invent things. Read TSRef and follow condition syntax. 
This is neither magic, nor human-like language. It will work only if you 
follow syntax precisely.

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-english mailing list