Hallo,
es ist ja möglich mittels Kickstarter einen eigenen Hauptmoduleintrag zu erstellen (wie Web). Wie kann man jetzt so wie in der direct_mail Extension neue Module in das Hauptmodul einbinden?
Hoffe mich verständlich ausgedrückt zu haben. #paralyzed#
mfg
Thomas
hier das Beispiel aus commerce (ext_tables.php):
// add module after 'File'
if (!isset($TBE_MODULES['txcommerceM1'])) {
$temp_TBE_MODULES = array();
foreach($TBE_MODULES as $key => $val) {
if ($key=='file') {
$temp_TBE_MODULES[$key] = $val;
$temp_TBE_MODULES['txcommerceM1'] = $val;
} else {
$temp_TBE_MODULES[$key] = $val;
}
}
$TBE_MODULES = $temp_TBE_MODULES;
}
// add main module
t3lib_extMgm::addModule('txcommerceM1','','',t3lib_extmgm::extPath('commerce').'mod_main/');
// add category module
t3lib_extMgm::addModule('txcommerceM1','category','',t3lib_extmgm::extPath('commerce').'mod_category/');
// Orders module
t3lib_extMgm::addModule('txcommerceM1','orders','',t3lib_extmgm::extPath('commerce').'mod_orders/');
// Systemdata module
t3lib_extMgm::addModule('txcommerceM1','systemdata','',t3lib_extmgm::extPath('commerce').'mod_systemdata/');
// Tracking module
// t3lib_extMgm::addModule('txcommerceM1','tracking','',t3lib_extmgm::extPath('commerce').'mod_tracking/');
// Statistic Module
t3lib_extMgm::addModule('txcommerceM1','statistic','',t3lib_extMgm::extPath('commerce').'mod_statistic/');
Hallo,
danke für die Antwort. Es dürfte aber scheinbar noch was fehlen.
Werde mir die commerce Extension mal genauer ansehen.
mfg
Thomas