Feature #14991
closedHook for accessing the topmenu in backend.
0%
Description
Currently, if you want to put something in the topmenu frame in the backend, you will have to do this through Xclassing. The problem is that many developers have installed the 'extdeveval'-extension which makes use of Xclassing to display links in the topmenu frame. That means that other extensions can not access this space.
In this patch I have implemented a hook in alt_topmenu_dummy.php which makes i possible for multiple extensions to add content to the topmenu.
It's possible to set a placement priority(1-9) through the variable 'priority' of the class which the hook connects to.
This hook is needed if you want to use both 'Roles'-extension and 'extdeveval'-extension.
(issue imported from #M1481)
Files
Updated by Stig N¸rgaard about 19 years ago
I have created a new version of the extdeveval which is based on the hook instead of the Xclass method.
No problems so far.
Extension which are based on the Xclass method will still work, though they will overrule the hook.
Updated by Stig N¸rgaard about 19 years ago
Added a new diff file.
This new version makes it possible to overrule the default css style which is set to: padding-top:4px;
This is needed because some content might demand more space. For example the Selectorbox of the Roles extension is better off with padding-top:2px;