[TYPO3] Getting logged in user data with TypoScript

Erik Svendsen erik at linnearad.no
Tue May 30 15:14:54 CEST 2006


Hello Rudy,

> Hello Luc,
> 
> I have searched there and haven't found anything...
> 

Something like this are doing the trick.

lib.login = COA
lib.login {
  10 = TEXT
  10.data = TSFE:fe_user|user|name #gives the full name of the user-
  10.wrap = <span><a href="index.php?id=18">Logget inn:&nbsp;|</a></span>
}

If you change the 10.data to TSFE:fe_user|user|company, you get the company 
name. And so on. 

If you have custom fields it's like this TSFE:fe_user|user|customfield

But as I know is there some differences on the syntax from 3.8.1 to 4.0

You would probably found the solution if you searched the list.

WBR,
Erik Svendsen
www.linnearad.no





More information about the TYPO3-english mailing list