[TYPO3] hook : query when I create a record

Franz Holzinger franz at fholzinger.com
Tue Jan 3 19:44:20 CET 2006


> I want to query typo3 database when I create a record (not when I update).
> 
> I try to use processDatamap_afterDatabaseOperations(&$fieldArray,
> $table,  $id, &$pObj) but the $id is NEWxxxxxxx. How to do a query on MM
> record  when you create a record ?
> 
I think the record in the mm table will not be existent at the time of
creation - how should it as nobody knows which selections from the
select box will be made? The user first has to store the normal record
before the mm table entries can be created.


Regards,

Franz




More information about the TYPO3-english mailing list