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

Philipp Gampe philipp.gampe at typo3.org
Wed Jan 15 03:20:39 CET 2014


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
-- 
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – Active contributor TYPO3 CMS
TYPO3 .... inspiring people to share!



More information about the TYPO3-project-typo3v4mvc mailing list