We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • Oops. FUBAR. Temporarily removing the "Modify Properties" option.
      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
    • Ok, all fixed now. Plus, added viewing/clearing the log, some bug fixes, and a LOT of error checking! On checking in, if the filename you’re checking in isn’t the same as the filename you said you want to checkin, it’s an "alert" error. This will still work even when versioning is set up; the checkin processor will generate a new random name for storage, and create a new version name out of the checkin file name and enter that in the database as if it were a new file, only increasing the old version’s version number by one. Also added "delete file from server on checkout" (but keeping the database entry; my client doesn’t have all that much space to be keeping all these files), and "notify owner by email on checkin/checkout" options to the add new file form.

      This is fun!

      Will have version 2 final by this evening; just getting all the display strings moved out into the $lang file. Not to worry if you don’t have langs enabled; it will use your system[site_start] document ID as a lang ID; part of installation requires renaming the default lang file to the ID of your site_start document. Will be easy enough to automate once I get it live on the client site and spend a bit of time on a proper install script.

      Ok, version 2 is ready for action. It’s up on http://www.sottwell.com, filemanager-filemanager as before.
        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
      • Very cool Susan. A few quick questions:

        1) Can a admin user "force" a file to be checked back in... E.g., someone checks out late Friday afternoon and forgets to check it back in.

        2) How’s the progress on categories going?

        3) I checked out thankyou.txt, and it came down as thankyou.txt.hmtl... should this be expected?

        Great work!
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • Hm, I suppose I could let the file’s "owner" do that, but it sort of misses the point if the one who forgot to check it back in has made important changes, there’s no point in having the file checked in? I don’t know; I worked briefly with Source Safe once, and if the file was out it was out until whoever had it out checked it back in.

          I’ll check out that file download html business. Sometimes it get flakey, and I’ve heard that IE sometimes does oddities like downloading the actual html page the download button is on instead of downloading the file! I guess I better look into that.

          Version three getting uploaded now. Looks a lot better, anyway!
            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
          • Great stuff Susan... how’s the work on Categories (and hopefully nested categories) coming?
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • Well, I desperately need to get my multilanguage hacks smoothed out. It’s down to figuring out one bit of code, line 702 in document.parser.class.inc.php:

              $in = '!\[\~(.*?)\~\]!is';


              Now in the links being fed to this little nightmare is a bit of query string, &lang=x, that I need to strip out. The minute I get this done, I’ll get back to finishing up the document manager. Besides categories, there’s also a search feature in the wings.

                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
              • Sounds great Susan. I’ve got it installed, but am having a bit of a tough time getting it going right... Had some problems with the includes that got worked out (PHP5) and the language $lang.php didn’t work but getting there. I’ll keep you up to date of my progress. Keep up the great work!
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • With no files in the file manager, when I click on List Files, I get redirected to the error page. I’m also a member of the document admin group and the document user group, but don’t get the add file buttons. Any idea?
                    Ryan Thrash, MODX Co-Founder
                    Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • Ok, I got the regexp thing sorted out, I was looking in the wrong place for where the query string values were being passed in. Will install the docmanager from the beginning on this new multilanguage setup and work it out.
                      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
                    • How’s the groups going and any ideas on what I ran into?
                        Ryan Thrash, MODX Co-Founder
                        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me