[TYPO3-dev] Fatal Error: This module "" is not enabled in TBE_MODULES

Alex Tuveri at at uniud.it
Wed Oct 29 10:48:25 CET 2014


Hi Helmut
first thank you for your post. I do not know *exactly* howto do and unfortunately it seems that there is some doc about mod1 referret to previous versions (4.5 etc.). 
I'm planning to reuse and rearrange the code for the MVC, DDD, etc. but now I need to adapt it to new t3 6.2.x

So configured using the following code:

mod1/conf.php

<?php

        // DO NOT REMOVE OR CHANGE THESE 3 LINES:
define('TYPO3_MOD_PATH', '../typo3conf/ext/ttnews_feeder/mod1/');
$BACK_PATH='../../../../typo3/';
$MCONF['name']='web_txttnewsfeederM1';


$MCONF['access']='user,group';
//$MCONF['script']='index.php';
$MCONF['script']='_DISPATCH';

$MLANG['default']['tabs_images']['tab'] = 'moduleicon.gif';
$MLANG['default']['ll_ref']='LLL:EXT:ttnews_feeder/mod1/locallang_mod.xml';

?>

ext:_tables.php:

(... omitted ...)

if (TYPO3_MODE=="BE")   {
 // Module Web->View

        \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
                $_EXTKEY,
                'web',
                'txttnewsfeederM1',
                '',
                '',
                array(
                        //'icon' => 'EXT:viewpage/ext_icon.gif',
                        //'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf',
                        'access' => 'user,group'
                )
        );


         \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('web','txttnewsfeederM1','',\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'mod1/');


}

many thanks, alex






More information about the TYPO3-dev mailing list