[TYPO3-dev] delete sysfolders/pages

Steffen Kamper steffen at sk-typo3.de
Fri Dec 14 10:43:32 CET 2007


"Dmitry Dulepov [typo3]" <dmitry at typo3.org> schrieb im Newsbeitrag 
news:mailman.1.1197623873.24343.typo3-dev at lists.netfielders.de...
> Hi!
>
> Martin Kutschker wrote:
>> You mean, TYPO3 should recurse into the folder, look for records (incl. 
>> subpages), check the references and then delete if no references are 
>> found?
>
> I think delet procedure should reference index for checking. I am not sure 
> if templavoila correctly updates refindex (already noted to check) but 
> rest of the system does it well (may be not all extensions - mine all do). 
> So if reference index says "no references" for elements of the page, then 
> page can be deleted. I also noted to look to clean up wizard, may be it 
> can help as well.
>
> -- 

this could be a solution for TV.
Looking fore Extension records it is difficult - you have to parse all 
tx_...-tables to see if the pid is used. This can be a very time consuming 
procedure.
Maybe we need a new filed in page record "references" or a new table like 
the mm-tables to store the references.

It seems not an easy task, but i see advantages of this.

vg  Steffen 






More information about the TYPO3-dev mailing list