[TYPO3-dev] Call php function when creating a record

Brian Bendtsen nightowl at galnet.dk
Fri Jan 18 15:20:59 CET 2008


Martin Kutschker skrev:
> Brian Bendtsen schrieb:
>> Hi
>>
>> I have made an extension that allows be users to create some records. 
>> I would like to call a special php function when one of these
>> records are saved.
>>
>> Where do I have to look for something like that?
> 
> Have a look at the hooks of TCEmain.
> 
> Masi
Hi again

Thanks Masi, I found the hook I needed and its works ok.

When a BE-user creates or updates a certain record type, a mail is sent to an number of website users.

Is it possible to create a confirmation box that allows the be-user to click on "yes" if the email has to be sent and "no" is nothing should be done?

/Brian





More information about the TYPO3-dev mailing list