[TYPO3-english] globalVar Condition problem
peter.russ at 4many.net
Wed May 6 12:43:40 CEST 2009
--- Original Nachricht ---
Datum: 06.05.2009 12:21:
> Peter Russ wrote:
> Ever tried conditions in constants?
>> [globalVar = TSFE:page|fe_group = -2,TSFE:page|fe_group = 1] ||
>> [globalVar = TSFE:page|fe_group = -2,TSFE:page|fe_group = 2]
>> restrictedPage = 1
> Ah, but I'm not looking for fe_group = 1 OR group = 2
> The condition should if page|fegroup contains"
By the way: if you check for -2 as mentioned, ANY logged user will be
able to see ;-)
And a check for -2 AND 1 doesn't make sense as if a user is member of
usergroup 1 he will also be member of -2 (any logged user)!
So think about what you want to check!
Perhaps a userfunction in condition could give you what you want in just
few lines ;-)
Fiat lux! Docendo discimus.
More information about the TYPO3-english