[TYPO3-dev] disable automatic deleting of files when removed by TCE

stefano cecere scecere at krur.com
Wed Oct 22 14:59:55 CEST 2008


Dmitry Dulepov wrote:
> Hi!
> 
> stefano cecere wrote:
>> otherwise i'll make an XCLASS, or even better a patch for this new
>> feature, if it sounds interesting for others...
>>
>> what do you think?
> 
> Bad idea. This will break TYPO3 reference index and create a lot of
> junk in TYPO3.
> 
> I think you can just make an extension that uses hooks in TCEmain to
> copy the file to archive before it is deleted. It is better because
> you can have configurable archive location and can even sort files
> by table (i.e. tt_news files go to /path/to/archive/tt_news-files).
> This has only advantages: nothing is broken and all archiving logic
> is isolated in your extension.

yes i think i can make and ext with hook for this!
thanks for the comment!

stefano




More information about the TYPO3-dev mailing list