We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    Quote from: smashingred at Jan 21, 2009, 06:54 AM

    Quote from: Bleda at Jan 21, 2009, 05:11 AM

    - The Resouces/Elements/Files buttons should all be on top of the sidebar (as tabs), the buttons change their place all the time and are too far away at the bottom. The slide-effect doesn’t work properly anyway.
    Can you present a mockup of how you see this working?

    See the left side of this screenshot. The tabs are at the bottom here (and I kind like them there) but they could also go above the tree. Like Breda, I think I’d prefer this to the current accordian menu.
      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
      • 3749
      • 24,544 Posts
      BTW, to really improve usability, let me edit a snippet, a chunk, and a document at the same time in different windows and, as a bonus, let me clear the site cache without closing either editing window.  wink

      See the right side of the screenshot in the message above - Each tab is a file and you can do search and/or replace just on the open files.
        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
        • 28215
        • 4,149 Posts
        Quote from: BobRay at Jan 21, 2009, 10:42 AM

        BTW, to really improve usability, let me edit a snippet, a chunk, and a document at the same time in different windows and, as a bonus, let me clear the site cache without closing either editing window. wink
        In an ideal world, we’d also have more than one person doing Revo UI commits, too. wink

        That idea cannot be done [currently], because that would require those tabs to be divs ajax-injected with HTML/JS, and current browser limitations prevent onReady events from firing in ajax-injected HTML. Therefore, no custom JS for each page - therefore, no ability to load JS-enabled pages into a div. In other words, no can do. We initially tried this. I wasted a week cursing at Safari’s security restrictions.

        Now, you might say, well, why not include all the JS before injecting, and just run JS after it’s injected? Well...
        1. There’s no clue when the page will be finished loading - onload events for divs don’t always work since the rendering/transmit times differ.
        2. Horridly slow load times, since ALL JS would have to be included EVERY page load
        3. That would completely prevent custom pages from being developed and included, since you’d have to include all the JS, which could break other JS, etc...
          shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
          • 3749
          • 24,544 Posts
          Quote from: splittingred at Jan 21, 2009, 10:51 AM

          Quote from: BobRay at Jan 21, 2009, 10:42 AM

          BTW, to really improve usability, let me edit a snippet, a chunk, and a document at the same time in different windows and, as a bonus, let me clear the site cache without closing either editing window. wink
          In an ideal world, we’d also have more than one person doing Revo UI commits, too. wink

          That idea cannot be done [currently], because that would require those tabs to be divs ajax-injected with HTML/JS, and current browser limitations prevent onReady events from firing in ajax-injected HTML. Therefore, no custom JS for each page - therefore, no ability to load JS-enabled pages into a div. In other words, no can do. We initially tried this. I wasted a week cursing at Safari’s security restrictions.

          Now, you might say, well, why not include all the JS before injecting, and just run JS after it’s injected? Well...
          1. There’s no clue when the page will be finished loading - onload events for divs don’t always work since the rendering/transmit times differ.
          2. Horridly slow load times, since ALL JS would have to be included EVERY page load
          3. That would completely prevent custom pages from being developed and included, since you’d have to include all the JS, which could break other JS, etc...

          I hope you don’t take any of my suggesions as critical of your work so far (which is fantastic). Sometimes I forget that it’s totally unfair to compare a C++ OS-specific program’s UI to a generic web program’s UI. Even if the Web-2.0 tools were mature (which they’re decidedly not) there would still be severe limitations on a program written in an unholy amalgam of PHP, JS, HTML, and CSS and executed over the web.

          When I first started doing web programming, I was cursing constantly about all the hoops I had to jump through just to do what would be trivial tasks in a C++ program (e.g. form processing).

          Do you think a separate, Ajax-based code editor with no WYSIWYG capability could be written that would be able to edit the content field of multiple MODx objects - maybe in separate browser windows?
            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
            • 28215
            • 4,149 Posts
            Quote from: BobRay at Jan 21, 2009, 11:14 AM

            I hope you don’t take any of my suggesions as critical of your work so far (which is fantastic).
            No, I don’t at all. My apologies if I was short. Sometimes I think I get frustrated with the plethora of people demanding this and that design, and so few actually doing concrete contributions (yourself far excluded, you have been invaluable) to their own suggestions.


            Sometimes I forget that it’s totally unfair to compare a C++ OS-specific program’s UI to a generic web program’s UI. Even if the Web-2.0 tools were mature (which they’re decidedly not) there would still be severe limitations on a program written in an unholy amalgam of PHP, JS, HTML, and CSS and executed over the web.
            Correct. While we’re getting close, we’re still a far throw away from native-style UI development. The main problem is just the fact that everything has to be loaded every time.


            Do you think a separate, Ajax-based code editor with no WYSIWYG capability could be written that would be able to edit the content field of multiple MODx objects - maybe in separate browser windows?

            Well, currently we’re working on a redesign that removes frames entirely - so what might be better is that you can now just open separate browser tabs. Hopefully that will satisfy most for now. I think your idea is good in principle, nightmarish in practical execution. tongue
              shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
              • 3749
              • 24,544 Posts
              I can open the Manager and log in in several different browsers, though I never do it. Is there any danger in doing work as the same admin user in several different concurrent sessions?
                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
                • 36416
                • 589 Posts
                Quote from: BobRay at Jan 21, 2009, 11:14 AM

                Sometimes I forget that it’s totally unfair to compare a C++ OS-specific program’s UI to a generic web program’s UI. Even if the Web-2.0 tools were mature (which they’re decidedly not) there would still be severe limitations on a program written in an unholy amalgam of PHP, JS, HTML, and CSS and executed over the web.

                PHPEd is written in Delphi for Win32, i don’t believe web tools will ever approach that kind of UI building...
                  • 28215
                  • 4,149 Posts
                  Quote from: Eol at Jan 21, 2009, 03:06 PM

                  PHPEd is written in Delphi for Win32, i don’t believe web tools will ever approach that kind of UI building...

                  Oh, sure they will - we’ll see either different mediums besides XHTML/JS/CSS develop (as we already have) and become mainstream, and native-style compatible browsers will become all the more common.

                  I just don’t think they are now. smiley
                    shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                    • 28215
                    • 4,149 Posts
                    Quote from: BobRay at Jan 21, 2009, 11:40 AM

                    I can open the Manager and log in in several different browsers, though I never do it. Is there any danger in doing work as the same admin user in several different concurrent sessions?
                    I would hesitate to work in different browsers - because of session persistence issues - but I know from experience working in different tabs in the same browser is not an issue.
                      shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                      • 3749
                      • 24,544 Posts
                      Quote from: splittingred at Jan 21, 2009, 03:22 PM

                      Quote from: BobRay at Jan 21, 2009, 11:40 AM

                      I can open the Manager and log in in several different browsers, though I never do it. Is there any danger in doing work as the same admin user in several different concurrent sessions?
                      I would hesitate to work in different browsers - because of session persistence issues - but I know from experience working in different tabs in the same browser is not an issue.

                      Even if the other tabs are separate logins of the same user?
                        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