[TYPO3-dev] id in preProcess hook for new record

Dmitry Dulepov dmitry.dulepov at gmail.com
Wed Apr 25 08:17:11 CEST 2012


Hi!

Dawid Pacholczyk wrote:
> Hello I need to make some actions on fields in preProcess hook but to do
> this I need the id of news. I can get it when i update record but how
> can I get it when I add record.

It is not available in the preProcess hook becase the record is not yet in 
the database.

-- 
Dmitry Dulepov
TYPO3 core team member
Blog: http://dmitry-dulepov.com/
Twitter: http://twitter.com/dmitryd

Simplicity will save the world.




More information about the TYPO3-dev mailing list