[TYPO3] How to get the FE user Id from Typoscript

JoH asenau info at cybercraft.de
Mon Nov 6 23:09:11 CET 2006


> I try to get the FE user from typoscript.
> I use the following Typoscript :
>
>    5 = TEXT
>    5.insertData = 1
>    5.value = {TSFE:fe_user:user:id}
>
> But it doesn't work.

To get values from an array you need the pipe separator

5 = TEXT
5.insertData = 1
5.value = {TSFE:fe_user|user|id}

or better

5 = TEXT
5.data = TSFE:fe_user|user|id

Not sure though, if the fe_user array is completely available this way.

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com





More information about the TYPO3-english mailing list