[Typo3-german] ###USERNAME### im Standard Mail-Formular?
    Hitcher 
    hitcher at wcm4u.de
       
    Thu Oct 13 17:04:25 CEST 2005
    
    
  
Carsten Kleinfeld wrote:
> Hi! probiers mal damit:
> 
> Auf die Art und Weise kommste an alle Userdaten ran.
> 
> template (setup):
> 
> page.includeLibs.tools = fileadmin/scripts/meine_tools.php
> 
> tt_content.mailform.20.hiddenFields.name1 = USER
> tt_content.mailform.20.hiddenFields.name1.userFunc=user_resolto->getUserName 
> 
> 
> PHP:
> inhalt der Datei meine_tools.php
> 
> <?php
> class user_resolto {
>     var $cObj;
> 
>     function getUserName($content,$conf){
>     global $TSFE;
>     $out = $TSFE->fe_user->user['name'];
>     return $out;
>     }
> }
> ?>
> 
> 
> Gruß Carsten
Hi, Carsten
super, genau so soll es sein.
Vielen Dank
Gruß
Ramon
    
    
More information about the TYPO3-german
mailing list