[TYPO3-english] Automatic adding of extension to page

Dmitry Dulepov dmitry at typo3.org
Mon Dec 8 14:43:56 CET 2008


Hi!

Gijs Epping [eFocus] wrote:
> Already found out how, i just added an
> processDatamap_afterDatabaseOperations hook and checked for the current pid
> 
> It looks like this:
> 
>  function processDatamap_afterDatabaseOperations($status, $table, $id,
> $fieldArray, &$reference)
>    {      

...

>                $reference->insertDB('tt_content',null,$fieldArray2);

This function is internal and may become unavailable in future TYPO3 versions. You must never call it. You need to use process_datamap() instead.

-- 
Dmitry Dulepov
TYPO3 core team
In the blog: http://typo3bloke.net/post-details/zend_debugger_goes_64_bit_on_mac_os_x/
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book


More information about the TYPO3-english mailing list