---
title: "eigene Modulgruppe"
url: "https://www.typo3.net/d/71610-eigene-modulgruppe"
source: "typo3.net"
tags: ["Extensions","Entwicklung","Frage"]
created: "2007-12-14"
last_reply: "2007-12-15"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# eigene Modulgruppe

Extensions › Entwicklung · 2 Antworten · gestartet 2007-12-14

## Eröffnungsbeitrag

**wurgli** · 2007-12-14 · [Beitrag #1](https://www.typo3.net/d/71610-eigene-modulgruppe/1)

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

## Antworten

### [#2](https://www.typo3.net/d/71610-eigene-modulgruppe/2) · steffenk · 2007-12-14

hier das Beispiel aus commerce (ext_tables.php):

```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/');
```

### [#3](https://www.typo3.net/d/71610-eigene-modulgruppe/3) · wurgli · 2007-12-15

Hallo,

danke für die Antwort. Es dürfte aber scheinbar noch was fehlen.

Werde mir die commerce Extension mal genauer ansehen.

mfg
Thomas

---

Quelle: „eigene Modulgruppe“, typo3.net, https://www.typo3.net/d/71610-eigene-modulgruppe
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
