[TYPO3] Problems with save and close and save and new in my extension...

Andrew Plank plankmeister_NO at SPAM_hotmail.com
Mon Jun 16 09:48:00 CEST 2008


Tomas Mrozek wrote:
>> However, if the user clicks "save and new" or "save and close" then my 
>> userfunc is not called, and the required processing of the selected 
>> image file does not occurr.
> 
> Your function is called before the form is displayed not upon saving of 
> a record.
> 
> For any processing that should happen upon saving of a record you would 
> have to use a hook. Search for "processDatamapClass".
> 
> Tomas Mrozek

Wow. Hooks are awewsome. Thanks for the tip, Tomas. It's *exactly* what 
I was looking for and it works most impressively :D


More information about the TYPO3-english mailing list