[TYPO3-mvc] Backend module outside of web or tools?

Daniel Dimitrov danielsd_bg at yahoo.fr
Tue Jul 27 11:01:30 CEST 2010


Hey guys,
With this code:
if (TYPO3_MODE === 'BE')	{
	/**
	 *
	* Registers a Backend Module
	*/
	Tx_Extbase_Utility_Extension::registerModule(
		$_EXTKEY,
		'web',
		'tx_bwshop_m1',	// Submodule key
		'',						// Position
		array(
		'Product' => 'indexBackend',
		'Supplier' => 'new'
		),
		array(
			'access' => 'user,group',
			'icon'   => 'EXT:bw_shop/ext_icon.gif',
			'labels' => 'LLL:EXT:' . $_EXTKEY . 
'/Resources/Private/Language/locallang_mod.xml',
		)
	);

}

I was able to create a module in web, but I'm wondering how to create a 
module outside of web or tools. There are some extensions like direct mail 
that create their own positions. How can I do this with extbase?
Daniel 



More information about the TYPO3-project-typo3v4mvc mailing list