[TYPO3-english] Add module to Media

François Suter fsu-lists at cobweb.ch
Sat Oct 30 11:04:28 CEST 2010


Hi,

> t3lib_extMgm::addModule('media','txnameM1','',t3lib_extMgm::extPath($_EXTKEY).'mod1/');

As far as I can see, it's because the module's key is not "media". 
Looking at some code from the DAM, I suggest you try:

t3lib_extMgm::addModule('txdamM1', 'txnameM1', '', 
t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');

HTH

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-english mailing list