Project

General

Profile

Actions

Bug #33403

closed

Ensure, that Extbase Modules use the new Pagetree

Added by Kay Strobach over 12 years ago. Updated about 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 #1

Updated by Ernesto Baschny over 12 years ago

  • Target version changed from 4.5.11 to 4.5.12
Actions #2

Updated by Fabien Udriot almost 12 years ago

What is the fix actually? It shouldn't be that complicated. Greater TYPO3 version hasn't the problem.

Actions #3

Updated by Fabien Udriot almost 12 years ago

Actually, the patch belongs to Extbase and should have been applied to 4.5 branch. I have applied it and tested successfully.

Reference: http://git.typo3.org/TYPO3v4/CoreProjects/MVC/extbase.git?a=commit;h=9372f11be21e99a3afa9e01f011d6dd3925a7a82

Actions #4

Updated by Kay Strobach almost 10 years ago

please close - seems to be fixed

Actions #5

Updated by Riccardo De Contardi about 9 years ago

  • Status changed from New to Closed
  • Is Regression set to No

closed as per request of the reporter

Actions

Also available in: Atom PDF