Project

General

Profile

Actions

Bug #18028

closed

When installing an extension that contains a new backend module the module menu is not refreshed anymore when using backend.php

Added by Ingo Renner almost 17 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2008-01-20
Due date:
% Done:

0%

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

Description

When installing an extension that comes with a new backend module the module menu oes not refresh as it was the case with alt_main.php

Actually the class ModuleMenu is already prepared for partial rendering of the menu. The bad thing is that it is still based on an amount of old code. This code dynamically generates javascript code to define what happens when someone clicks a module link.

Now when partially rerendering the menu the javascript is not created for new modules - or at least not printed out which leads to the problem that the browser does not know what to do when clicking a module.

A possible solution could be to route all clicks on a module link through the server which then sends back what should be done - the actions should/may be cached.
(issue imported from #M7222)


Files

reloadMenuOnExtInstall.diff (10.7 KB) reloadMenuOnExtInstall.diff Administrator Admin, 2008-01-25 00:34
setActive.txt (501 Bytes) setActive.txt Administrator Admin, 2008-01-25 01:31

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Feature #17678: Change the frames BE to iframesClosedIngo Renner2007-10-14

Actions
Related to TYPO3 Core - Bug #17692: Javascript Error in new BackendClosedIngo Renner2008-01-22

Actions
Related to TYPO3 Core - Bug #42009: Enable extenisions with BE modules don't refresh the module listClosedOliver Hader2012-10-15

Actions
Actions #1

Updated by Steffen Kamper almost 17 years ago

very nice!

i attached a snippet to set the active state of menu item, you can include.

vg Steffen

Actions #2

Updated by Ingo Renner almost 17 years ago

this would belong to #18027 then. nevertheless this would not be enough as highlighting of a module can also change by calling a shortcut and jumping into a different module. We need to rebuild the old highlightModuleMenuItem() function.

Actions #3

Updated by Ingo Renner almost 17 years ago

patch is ready, will commit as soon as SF.net is back

Actions #4

Updated by Ingo Renner almost 17 years ago

committed to SVN trunk

Actions

Also available in: Atom PDF