[TYPO3-mvc] Fill TCA field default with be_user realName

Henk Scholten henk at wolfsstyle.nl
Wed Jan 15 17:58:37 CET 2014


Thank you Philipp.
However the approach tt_news using is not working in TYPO3 6.2

Henk

Philipp Gampe schreef op 15-01-14 03:20:
> Hi Henk,
>
> Henk Scholten wrote:
>
>> 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?
>
> Use a tcemain hook for this. An example can be found (for the archive time)
> in ext:news.
>
> Best regards
>
T


More information about the TYPO3-project-typo3v4mvc mailing list