[TYPO3-dev] Finding out if a record was saved

Lorenz Ulrich lorenz-typo3 at visol.ch
Tue Jan 25 23:07:58 CET 2011


Hi there

I found out that deleting is done by calling tce_db. Would it be 
appropriate to ask for a hook in tce_db to determine if a record was 
deleted? Or are there better ways to delete DB records nowadays?

Thanks for your help,

Lorenz

Am 23.01.2011 23:24, schrieb Søren Malling:
> Hi Lorenz
>
> Have a look at EXT:pmknewstwitter which sende a text to twitter if a
> new record is created. Look inside ext_localconf.php so see what hook
> is used, you should use the same :)
>
> Regards
>
> Søren
>
> On Sunday, January 23, 2011, Lorenz Ulrich<lorenz-typo3 at visol.ch>  wrote:
>> Hi everyone
>>
>> In dam_catedit we use a custom category tree that needs to be refreshed on editing existing items and saving new items.
>>
>> Refreshing the tree works fine with
>>
>> t3lib_BEfunc::setUpdateSignal('updateFolderTree');
>>
>> The problem is that I only want to refresh the tree if an entry was added or manipulated. Adding and manipulating is done with TYPO3-built-in methods (TCE).
>>
>> Does anybody here have an idea how to find out in a custom module if anything was changed in a custom table by the TCE?
>>
>>
>> Best regards,
>>
>> Lorenz
>> _______________________________________________
>> TYPO3-dev mailing list
>> TYPO3-dev at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>>
>





More information about the TYPO3-dev mailing list