Feature #19543
closedIntegrate EXT: ingmar_admpanelwrap
0%
Description
Problem:
the admin panel currently is tied to a fixed position and con not be moved.
Solution:
Integrate EXT: ingmar_admpanelwrap to enable draging of the admin panel
(issue imported from #M9703)
Files
Updated by Ingo Renner about 16 years ago
sorry, here's a fixed version. With v1 dragging only worked when the admin panel was open.
Additionally this version switches the order of text and checkboxes in the TypoScript section. Before it could happen that the admin panel beomes very wide because of the content in this section. In this case it was hard to figure which checbox belongs to whcih option as the label might have been outside of the viewport due to scrolling.
This can't happen anymore as the checkboxes are now right in front of the labels.
Updated by Clemens Riccabona about 16 years ago
maybe it should be tested if the xmenu_layers are working properly with this version before integrating into core.
Explanation: With the Ext:ingmar_admpanelwrap the xmenu_layers are not disappearing onmouseover/oncklick if adminpanel is present.
Updated by Clemens Riccabona about 16 years ago
ok, just integrated and uploaded cursor move, and found out what the problem is with the xmenu_layers incompat. The 'document.onmousemove and the document.onmouseup events are the bad boys.
Updated by Clemens Riccabona about 16 years ago
sorry, not really exact.
window.event can make problems as well.
Updated by Ingo Renner about 16 years ago
new version with some cleaned up code and the move cursor on the header of the admin panel
Updated by Clemens Riccabona about 16 years ago
Related to the core-list discussion:
I just added my version of ingmar_admpanelwrap here, as a 'proof of concept' with a working and compatible javascript.
I can't make a patch/diff today (probably on sunday). but if you are hot, just copy and paste my code, it isn't that difficult I think.
I used wz_dragdrop for the dragging operations which is licensed under LGPL, which should be compatible to our GPL (but i'm not a lawyer!).
For storing and restoring positions i used the original 'ingmar' code.
You should test it on several browsers and projects, before integrating to the core, i think.
fun & greetz clemens
Updated by Clemens Riccabona about 16 years ago
a small lack of beauty is, that (on my firefox) the cursor doesn't change anymore, also with the 'cursor:move;' style. i'll have a look at it on sunday.
EDIT: Solved, just have small modifications within wrapBefore:
Change: SET_DHTML("admPanel");
To: SET_DHTML("admPanel"+CURSOR_MOVE);