Project

General

Profile

Actions

Feature #14991

closed

Hook for accessing the topmenu in backend.

Added by Stig N¸rgaard about 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-09-23
Due date:
% Done:

0%

Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:

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

alt_topmenu_dummy.php.diff (1.74 KB) alt_topmenu_dummy.php.diff Administrator Admin, 2005-09-23 17:12
roles_extdeveval_example.gif (7.27 KB) roles_extdeveval_example.gif Administrator Admin, 2005-09-23 17:13
alt_topmenu_dummy.php.diff2 (1.94 KB) alt_topmenu_dummy.php.diff2 Administrator Admin, 2005-10-09 17:56
Actions #1

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.

Actions #2

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;

Actions #3

Updated by Michael Stucki about 19 years ago

Added in CVS

Actions

Also available in: Atom PDF