[TYPO3-core] RFC #17282: Workspaces module get place on "top" of all modules
Ernesto Baschny [cron IT]
ernst at cron-it.de
Tue Jan 25 01:16:37 CET 2011
Hi,
This is a SVN patch request.
Type: Bugfix
BT reference: http://bugs.typo3.org/view.php?id=17282
Branches: trunk
Problem:
After uninstalling the new sysext "info", the Workspaces module is on
the first position of the modules menu (even before "Web>Page").
Solution:
Since we moved several old hardcoded modules to sysext, they can also be
uninstalled. Some extensions place their backend modules using the
t3lib_extMgm::addModule() call and setting the $position parameter to
one of these old hardcoded extensions.
E.g. the workspaces module registers himself for "before:info". So if
"info" is not installed, the default would be to be placed "at the end".
This is even documented in the method addModule(), but it doesn't work.
This is related to #16643 and a follow-up after this fix was applied:
#16201
How to test:
1) Have Workspaces extension installed
2) Uninstall Extension Web>Info (extKey = "info")
3) See the Workspaces being placed on top of Web>Page (Bug)
Apply the patch, reload the backend
4) See the Workspaces at the position depending on the order of
installation.
Note:
There is *no* API yet for more "precise" positioning of elements in the
modules menu. To create a new API for this and think more about this
issue is a matter for to be considered for 4.6.
Cheers,
Ernesto
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17282.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110125/e653982f/attachment-0001.asc>
More information about the TYPO3-team-core
mailing list