Tired of scrolling to save a document?
Here´s the solution to get rid of that, so that the top button-toolbar (Save, Delete, Cancel) always stays in view.
At first disable the bottom toolbar plugin!
Make the following changes to /manager/media/style/SELECTEDTHEME/style.css (simply replace the classes with my code, i modified the MODx Light Theme):
.stay{
display: block;
margin-left: 0;
position: relative;
z-index: 1000;
}
.subTitle {
width: 100%;
padding: 0;
margin: 0 10px 10px 0;
z-index: 1000;
position: fixed;
top: 0;
background: #bee860 url(images/misc/greenfade.gif) repeat-x top;
padding: 5px;
}
.right {
font-weight: bold;
color: #000;
}
Then add the following class to style.css:
.first{
margin-top: 80px;
}
Now add the following code to manager/includes/header.inc.php in the function "document_onload":
$E('.sectionHeader').addClass('first');
So the first sectionHeader on the page gets a topmargin of 80pixels.
It would be nice if in future versions of MODx the action-buttons always stay in view.
This makes Usability so much better!