[TYPO3-dev] Postprocessing when a new page is created

Tobias Pinnekamp mail at tpinne.de
Fri Dec 30 17:49:32 CET 2005


Ingmar Schlecht schrieb:
> Tobias Pinnekamp wrote:
>> is there any hook to postprocess the creation of a page record?
> 
> Use the post processing hook of process_datamap in TCEMain and make a 
> condition in the beginning of your hook function to only execute your 
> code on creation of a *new* record in the *pages* table.
> 
> The hook is documented here:
> http://typo3.org/development/articles/how-to-use-existing-hooks/
> 
> cheers,
> Ingmar

Ok, works nearly fine. ;-)

I recognized that here the data is processed BEFORE it inserted into 
pages-table. That's a problem, because I need the new uid of the created 
page.
Any hint where else I can use a hook to solve my problem?

Best regards

Tobias




More information about the TYPO3-dev mailing list