[TYPO3-mvc] Fill TCA field default with be_user realName
Henk Scholten
henk at wolfsstyle.nl
Wed Jan 15 00:40:46 CET 2014
Hello,
I have the following TCA:
'author' => array(
'exclude' => 0,
'label' =>
'LLL:EXT:lala/Resources/Private/Language/locallang_db.xlf:tx_lala_domain_model_download.author',
'config' => array(
'type' => 'input',
'size' => 30,
'eval' => 'trim',
'default' => ''
),
),
I want to default fill the author with the name of the current logged in
backend user. In TYPO3 4.5 i just could use $GLOBALS['BE_USER']... But
what is the approach in TYPO3 6.2?
Kin regards,
Henk
More information about the TYPO3-project-typo3v4mvc
mailing list