[TYPO3-english] globalVar Condition problem
Walrick
lists at globalhealingcircle.net
Wed May 6 12:21:00 CEST 2009
Peter Russ wrote:
Ever tried conditions in constants?
>
> CONSTANTS:
>
> ...
>
> restrictedPage=0
> [globalVar = TSFE:page|fe_group = -2,TSFE:page|fe_group = 1] ||
> [globalVar = TSFE:page|fe_group = -2,TSFE:page|fe_group = 2]
> restrictedPage = 1
> [end]
Ah, but I'm not looking for fe_group = 1 OR group = 2
The condition should if page|fegroup contains"
-2
1
1,2
2,1
But not when it's
empty
0
-1
2
So it should apply for every page which is not public and which
usergroup 1 can see.
Walrick
--
webmaster Global Healing Circle
www.globalhealingcircle.net
More information about the TYPO3-english
mailing list