Issue Bug Closed

#33403Ensure, that Extbase Modules use the new Pagetree

Kay Strobach 01/24/12, 08:56 updated 05/04/15, 09:55

Description

Hi, i’m unsure, wether this is an Extbase problem or a core problem:

    Tx_Extbase_Utility_Extension::registerModule(
        $_EXTKEY,
        'web',                     //Mainmodule
        'tx_sitemgr_mod1',        //Name
        '',                        //Position
        array(                    //Controller
            'SiteManager' => 'index' 
        ),
        array(        //additional config
            'access' => 'user,group',
            'icon'   => 'EXT:sitemgr/Resources/Public/Images/Backend/mod1/moduleicon.gif', 
            'labels' => 'LLL:EXT:sitemgr/Resources/Private/Language/locallang_mod1.xml',
        )
    );

Using the above code creates a BE Module in the web section, but this module still uses the old pagetree in TYPO3 4.5.

The old style addModule Modules are using the new pagetree :(, so the behaviour is not very consistent…

    t3lib_extMgm::addModule('web','txtemplavoilaM1','top',t3lib_extMgm::extPath($_EXTKEY).'mod1/');

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.