[TYPO3-dev] call hook when creating a mm table record
Brian Bendtsen
bb at bellevuevej.dk
Tue Aug 5 14:24:02 CEST 2008
Hi
Im trying to use a hook to manipulate some database tables when creating
or deleting a mm record. Like this:
function processDatamap_afterDatabaseOperations($status, $table, $id,
&$fieldArray, &$tcemain) {
if (($status=='new') && $table=='my_mm_table') {
t3lib_div::devlog('processDatamap_afterDatabaseOperations','wk_league',0,array('test'));
}
without luck. Could it be because the table 'my_mm_table' is not defined
in the tca.php and ext_tables.php?
/Brian
More information about the TYPO3-dev
mailing list