[TYPO3-core] RFC: fixing bugs 1642 and 4886: menu does not reload when installing an extension with a new BE module
Ingo Renner
typo3 at ingo-renner.com
Thu May 3 09:16:08 CEST 2007
Hi all,
This is SVN patch request.
Branch: trunk
Problem:
When installing or uninstalling an extension which contains BE
modules the ne modules don't show up in the menu
Solution:
Reload the menu frame.
Reloading the menu frame isn't enough though. The available modules
are defined in goToModule() - a javascript function generated in
alt_main.php. Thus it is not updated and the newly appeared module
will not work unless the whole BE is reloaded.
To challenge that the generation of the goToModule function had be
moved to the respective menu frame (left / top select / top icons).
This ensures that the function including the module definitions is
reloaded, too and the newly appeared module will work when clicked.
To keep references to the old top.goToModule() function working it is
turned into a wrapper for the moved JS function and will simply
forward the call to the correct frame.
References:
http://bugs.typo3.org/view.php?id=1642
http://bugs.typo3.org/view.php?id=4886
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1642_4886.diff
Type: application/octet-stream
Size: 7494 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070503/062964ac/attachment.obj
-------------- next part --------------
cheers
Ingo
More information about the TYPO3-team-core
mailing list