We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 349
    • 76 Posts
    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!
      • 3749
      • 24,544 Posts
      You’ll be happy to hear that the buttons stay in view in the current incarnation of the MODx Revolution Manager. smiley
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 349
        • 76 Posts
        Quote from: BobRay at Dec 09, 2008, 10:54 PM

        You’ll be happy to hear that the buttons stay in view in the current incarnation of the MODx Revolution Manager. smiley
        YAY!
          • 349
          • 76 Posts
          Hi BobRay,

          i tried the actual version of Revolution from CVS. But the buttons "Save, Duplicate, Preview, Cancel" didn´t stay in view.
          Also it would be nice if there where some accesskeys for these actions. For example Command-S for Save.
          This would be great.
          • aceman3000, unless you’re using Fx or Safari, anything being goofy for Revo in IE will not be addressed until beta. They most definitely stay in Revo. Sure you weren’t looking at the legacy branch (1.0)?
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 349
              • 76 Posts
              Hi. Thanks for your answer. I am using FF 3 on a Mac OS X. I downloaded the latest branch from here:
              http://svn.modxcms.com/svn/tattoo/tattoo/branches/revolution/

              But my buttons are scrolling up. Also tried it on Opera 10. Same there.

              Am i doing anything wrong?
                • 3749
                • 24,544 Posts
                I’m using a version from about three days ago in F3/Vista and they stay in one place for me editing both resources and snippets.

                Do you have any FF plugins that could be messing with things?
                  Did I help you? Buy me a beer
                  Get my Book: MODX:The Official Guide
                  MODX info for everyone: http://bobsguides.com/modx.html
                  My MODX Extras
                  Bob's Guides is now hosted at A2 MODX Hosting