Project

General

Profile

Actions

Bug #38138

closed

Task #38086: Enhance TYPO3 bootstrap mechanism

Add module menu object to the TYPO3 backend

Added by Susanne Moog over 12 years ago. Updated about 6 years ago.

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

100%

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

Description

The backend at the moment uses a combination of the GLOBAL variables TBE_MODULES and TBE_MODULES_EXT to build the main menus of the backend (the module menu on the left and the submodule menus of the backend modules - look at info for an example).

To be able to easily change the representation of these menus and to offer a clean API for rendering menus the menu is refactored into an object structure with n levels. At the moment the old GLOBALS are migrated to a 3 level menu object. This means that you can use the module menu object in your backend modules to render your submenu.

This patch just adds the object structure and transformation. It does not change any handling of menus in the core itself. These changes can be done piece by piece after this patch.

Actions #1

Updated by Gerrit Code Review over 12 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12146

Actions #2

Updated by Gerrit Code Review over 12 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12146

Actions #3

Updated by Susanne Moog over 12 years ago

You can test the change with adding
$moduleMenu = t3lib_div::makeInstance('Typo3_ModuleMenu'); var_dump($moduleMenu);
for example in the about index controller and having a look at the source code.

Actions #4

Updated by Gerrit Code Review over 12 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12146

Actions #5

Updated by Gerrit Code Review over 12 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12146

Actions #6

Updated by Gerrit Code Review over 12 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12146

Actions #7

Updated by Gerrit Code Review over 12 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12146

Actions #8

Updated by Susanne Moog over 12 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF