Project

General

Profile

Actions

Bug #33403

closed

Ensure, that Extbase Modules use the new Pagetree

Added by Kay Strobach almost 13 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2012-01-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

Files

33403.diff (1.11 KB) 33403.diff Fabien Udriot, 2012-07-02 17:51
Actions

Also available in: Atom PDF