We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9995
    • 1,613 Posts
    Thanks, the Fix Tab-Header function is nice.

    I noticed the newest version (https://github.com/modxcms/evolution/releases/tag/v.1.1RC) of Evo default has the scroll fix.
    - mainIframe remember scroll position after Save


      Evolution user, I like the back-end speed and simplicity smiley
      • 42270
      • 16 Posts
      Glad you like it. Yes I checked out 1.1RC yesterday and already updated the plugin for compatibility. So the ScrollFix-Feature gets ignored if enabled on a Modx 1.1-Installation.

      Yesterday I also added a new feature called "Extend Save-Button" which maybe is the solution to your issue 427? https://github.com/modxcms/evolution/issues/427

      When enabled it looks like:
        • 9995
        • 1,613 Posts
        Nice, but I don't have that button. Do I need to add a plugin-configuration rule?
        Would like to have that!

        Just installed on a new Evo 1.1RC install.

        Your plugin also works on resources smiley while Evo 1.1RC only does it on chunks / plugin as far as I have seen/checked.

        I wonder, can it be loaded sooner? It "jumps" to the previous position after a second, just a detail.


        Possible Feature/addition:
        I just thinking of the option to let the "actionButtons" always stick to the top (visible). Like this:

        http://leafo.net/sticky-kit/
        https://github.com/WeCodePixels/theia-sticky-sidebar




        [ed. note: fourroses666 last edited this post 8 years, 2 months ago.]
          Evolution user, I like the back-end speed and simplicity smiley
          • 42270
          • 16 Posts
          The new version is up now: https://github.com/Deesen/modxEvo_scrollFix/blob/master/assets/plugins/scrollfix/plugin.scrollfix.php

          I´m not sure right now if the new internal ScrollFix-Feature is better or not so I disabled the Plugins´ ScrollFix-Function on Modx 1.1 for now. Let me know when you find something to optimize.

          Also please check if the jumping still occurs. I added a "html {overflow:hidden}" when "Fix Tab-Header" is enabled. Does it help?
            • 9995
            • 1,613 Posts
            Thanks,

            Maybe you can uptimise the Scroll to top:
            It doesn't scroll to the 0 position. It scrolls to the top of the tabs.

            ----

            The jumping still occurs, but I'm not sure it can be fixed.

            When I'm on a page in the manager and scroll down, then save:
            - The page jumps to the top and directly the preload popup pops up,
            - Then it jumps back to the last position.

            All I know is that can be fixed by changing the transparancy of the popup background to not transparent.
            #preLoader {background-color: rgba(255, 255, 255, 0.5);} --> (255, 255, 255, 1)

            But first I need to fix the preloader popup which isn't visible for my custom styled manager theme.

            #EDIT

            Have it fixed for: https://github.com/fourroses666/evo-custom-manager-style
            No more jumping visible.

            ----

            Extend Save-Button is nice,
            It would be even nicer if its build within the dropdown like here: (probably needed to be fixed in core)
            https://github.com/modxcms/evolution/issues/427#issuecomment-112474553



            [ed. note: fourroses666 last edited this post 8 years, 2 months ago.]
              Evolution user, I like the back-end speed and simplicity smiley
              • 42270
              • 16 Posts
              The jumping occurs because of TinyMCE initializing first ;-).

              Reg. the Extend-Button, to style it like mentioned in Issue 427 requires additional code. Is it really worth it? A solution could be http://stackoverflow.com/questions/13437446/how-to-display-selected-item-in-bootstrap-button-dropdown-title
                • 9995
                • 1,613 Posts
                Well I do like it a little better to have it in the dropdown (and remember last chosen).
                But your way works aswell.
                  Evolution user, I like the back-end speed and simplicity smiley