Actions
Feature #15267
closedt3lib_extMgm::addModule() and sorting of BE-Modules
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2005-12-09
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Roadmap:Phoenix
Adding new Main-modules to the Main-menu there is no API to influence the order of the modules/menuentries.
There is a solution around, that is provided by EXT:dam like this:
--------------------------------------------------------------------------------
$temp_TBE_MODULES = Array();
foreach($TBE_MODULES AS $key => $val) {
if ($key == 'doc') {
$temp_TBE_MODULES[$key] = $val;
$temp_TBE_MODULES['mod_1'] = $val;
} else {
$temp_TBE_MODULES[$key] = $val;
}
}
$TBE_MODULES = $temp_TBE_MODULES;
-----------------------------------------------------------------
This possibilty should be usable by the t3lib::extMgm-API.
I think it will stay for 4.0 as is.
Should be fixed/taken care of in 4.5/5.0.
(issue imported from #M2016)
Actions