[TYPO3-english] globalVar Condition problem

JoH asenau info at cybercraft.de
Wed May 6 19:42:47 CEST 2009

> So why not check, if
> a) there is a value for fe_group
> b) the value is NOT -1

And since there is no NOT for conditions here's the code that should do the

[globalVar = TSFE:page|fe_group=0] || [globalVar = TSFE:page|fe_group=-1]
    #if the group is 0 or -1 nothing happens
    #in any other case (NOT 0 AND NOT -1)
    temp.blah = SOMETHING



Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
TYPO3 workshops: http://workshops.eqony.com

More information about the TYPO3-english mailing list