[TYPO3-dev] EM: problem with insertion of records

Franz Holzinger franz at ttproducts.de
Wed Nov 3 10:52:39 CET 2010


Hello,

I want to have the possibility to add new records into a table which is 
owned by another extension. This shall be done automatically when an 
extension is installed. And it shall be possible to use the 'UPDATE!' 
menu in the EM as well.

The discussion has started on the Core List topic 'RFC #16177: Add DB 
structure update pre-processing hook in EM'.

The new hook 
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/mod/tools/em/index.php']['checkDBupdates'] 
does not help here, because it requires a file ext_tables.sql. You could 
put a copy of ext_tables.sql into the extension. However then all 
records from the other extension would be deleted. This would not make 
sense.

At the moment the extension mastertemplate shall insert a record into 
static_template from the system extension statictemplates.

Where can a new hook be added which allows to INSERT new records into 
another extension's table?

- Franz




More information about the TYPO3-dev mailing list