[TYPO3-english] globalVar Condition problem

JoH asenau info at cybercraft.de
Wed May 6 19:34:46 CEST 2009


> What it does is check whether the current PAGE has an fe_group value
> of -2. The check is not meant to render content depending on the
> user's status but depending on the page's access setting. Basically
> it tells a member whether a page is members-only or not.

Exactly - or "not" :-)

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

any other value will be "members only" since the editors are not able to set
"hide at login" together with any other option.

HTH

Joey

-- 
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