[TYPO3] BE condition
Christopher Torgalson
bedlamhotel at gmail.com
Tue Jul 3 21:14:43 CEST 2007
Hi,
On 7/3/07, Georg Rehfeld <georg.rehfeld at gmx.de> wrote:
> Hi Tyler,
>
> Tyler Kraft wrote:
> > can anyone tell me how I can set a condition to check if one particular
> > BE user is logged in?
> >
> > I use [globalVar = TSFE:beUserLogin=1] to see if any BE user is logged
> > in, but how can I check if one particular BE user is logged in?
>
> You can try
>
> [globalVar = TSFE:fe_user|user|uid=XXX]
>
> where XXX is the user id of the wanted user, or
>
> [globalVar = TSFE:fe_user|user|username=user_a]
>
> You could also look for a specific usergroups id with
>
> [globalVar = TSFE:fe_user|user|usergroup=YYY]
>
> This should work as of TYPO3 4.1.1 (maybe with older versions too),
> but I didn't test it. Please reply back with success/failure, so we all
> are informed.
He's trying to test for a BE user...
--
Christopher Torgalson
http://www.typo3apprentice.com/
More information about the TYPO3-english
mailing list