[TYPO3] RE $GLOBALS["TSFE"]->fe_user->user["username"]: something similar for 'usergroup'? (Bert Hiddink)

Leo Barrientos C. leobarrientos at opendesarrollo.cl
Mon Oct 23 03:46:32 CEST 2006


try with :

t3lib_div::debug($GLOBALS["TSFE"]->fe_user);

or even 

t3lib_div::debug($GLOBALS["TSFE"]);

Making this you can see the debug window on your browser. (clear the
cache first!)

Another way is make a simple query into a "home made" class, something
like :

$nameFieldGroup=$queryManager->getSingleFieldFromQuery('fe_user',
$GLOBALS["TSFE"]->fe_user->user["usergroup"],$con);

//$con is the connection link of typo3

Or using the API , for selects Querys. Is to simple and secure!.

hope help.





More information about the TYPO3-english mailing list