We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    Apparently so, because a snippet I’ve been using for some time now in 0.9.6 to output the SESSION array as a tutorial device doesn’t work for the latest 0.9.7 that I just installed a few days ago. Fortunately for me, print_r has a "return" mode where it puts its output into a variable, so I can have the snippet return that along with the <pre> formatting tags.
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 22303 MODX Staff
      • 10,725 Posts
      Actually, it sounds like the output buffer is not capturing the output from snippet execution. I’ll look into it and resolve it if that’s the case, though I will still recommend that you output either directly from the snippet or to a placeholder rather than using echo, print, etc. At the very least, you can wrap the code that uses such in your own output buffer and return that from the snippet/put into a placeholder; that should also provide a quick fix for you until I can get to it (or someone else figures it out).
        • 3749
        • 24,544 Posts
        I noticed another quirk. On the File tab in the manager, clicking on any of the subdirectories creates a copy of what’s already there. There’s no way to navigate to the deeper levels since every new level is just a copy of the root directory.

        I have no .htaccess file and FURLs are off. The paths in Tools | Configuration all look correct. Am I missing something?

        Bob
          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 31, 2008, 09:02 AM

          I noticed another quirk. On the File tab in the manager, clicking on any of the subdirectories creates a copy of what’s already there. There’s no way to navigate to the deeper levels since every new level is just a copy of the root directory.

          I have no .htaccess file and FURLs are off. The paths in Tools | Configuration all look correct. Am I missing something?

          Bob

          BobRay - due to the Ext2 migration, the 3rd party plugin we were using for that had to be removed. We’ve been in the process of writing a file/directory browser from scratch, but it’s not done.

          So, in essence, don’t expect the file browser to work perfectly yet.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 28215
            • 4,149 Posts
            Quote from: splittingred at Jan 31, 2008, 09:22 AM

            BobRay - due to the Ext2 migration, the 3rd party plugin we were using for that had to be removed. We’ve been in the process of writing a file/directory browser from scratch, but it’s not done.

            So, in essence, don’t expect the file browser to work perfectly yet.

            Actually strike that - it works on the latest rev, minus the Upload Files option...what revision are you using?
              shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
              • 3749
              • 24,544 Posts
              Quote from: splittingred at Jan 31, 2008, 09:22 AM

              [BobRay - due to the Ext2 migration, the 3rd party plugin we were using for that had to be removed. We’ve been in the process of writing a file/directory browser from scratch, but it’s not done.

              So, in essence, don’t expect the file browser to work perfectly yet.

              Thanks. Glad to know it’s not a config. error on my part.
              The files are on my local machine, so I don’t really need the file browser.

              Bob
                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
                I’ve got a barely presentable first approximation of my 0.9.7 migration page up.

                Please let me know if I’ve said anything that will get people into trouble or skipped any important steps.

                I’d also appreciate any comments on errors, suggested additions, and clarifications.

                http://bobsguides.com/Migrating-to-097.html

                Bob
                  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
                  • 22303 MODX Staff
                  • 10,725 Posts
                  Great stuff BobRay -- I’ll take a look in detail this evening and get you some feedback (especially on the user/security stuff), but overall, this is a great pioneering effort and will be invaluable in determining some of the finer points of the process in preparation to automate it. Thanks again for taking the initiative and sharing your experience.
                    • 3749
                    • 24,544 Posts
                    Quote from: OpenGeek at Jan 31, 2008, 04:39 PM

                    Great stuff BobRay -- I’ll take a look in detail this evening and get you some feedback (especially on the user/security stuff), but overall, this is a great pioneering effort and will be invaluable in determining some of the finer points of the process in preparation to automate it. Thanks again for taking the initiative and sharing your experience.

                    Thank you for the kind words.

                    BTW, I’m working on getting Wayfinder working and it appears that some things are missing from the modx-components SVN archive you posted. The Wayfinder class file is there but the actual snippet code and the config directory are missing. I tried using re-writing the old Wayfinder 2.0 snippet code but couldn’t get it to work.

                    I think the snippet code might also be missing from the Ditto trunk there.

                    Bob
                      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
                      I’ve got few more quirks in the 0.9.7 manager.

                      1. On the elements tab, the file tree at the left duplicates all my categories under every heading. I don’t know if this is a bug in the tree display (like the one in the file manager tree listing), by design, or if it’s because my imported categories are messed up.

                      2. I think I mentioned this before, but I can’t edit locked chunks even though I’m the admin and the only user.

                      3. The site preview function flashes the site preview on the screen, then hides it behind the Manager window in IE7 (but not in FF). Once I select the preview window on the task bar, it shows normally. If I keep the mouse off to the side, the preview window is not hidden until I move the mouse over it.

                      4. This is a little iffy, but I think clearing the site cache might not always clear the snippet cache. I cleared the cache twice in a row with no preview or editing in between and these two lines showed up as having been deleted both times (but not the third time).

                      C:/xampp/htdocs/Mysite/core/cache/web/elements/modSnippet/4.cache.php
                      C:/xampp/htdocs/Mysite/core/cache/web/elements/modSnippet/5.cache.php

                      This may just be a reporting problem rather than a failure to clear the snippet cache.

                      I would have posted 2 and 3 on Trac, but I didn’t know whether they belonged under 0.9.7 or 0.9.7-beta.

                      Bob
                        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