We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24421
    • 44 Posts
    I tried to upload a ’.htc’ file with the file-manager but don’t allow it. I can select the file but when click the ’Upload’ button the page are reloaded as usual but the file is not uploaded.

    I’am using the MODx 0.9.6 version and the directory in question is writable, I can upload any ’css’, ’txt’,...

    Is this a bug?

    Finally I uploaded the file by FTP and it’s displayed but the ’Edit’ and the ’View’ icons are grayed.
    • Check the File Manager configuration for allowed upload types (extensions). Not a bug.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 24421
        • 44 Posts
        Thanks Ryan,

        I have been bothered by nonsense. As always, the short answer is that the more it costs to take into account.

        I am ashamed for not having thought of a so obvious solution. embarrassed

        Thanks again.
        • No problem at all, and it was a good question. smiley
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • Also, keep in mind that for the Resource Browser, individual users have their own settings for this.
              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
              • 24421
              • 44 Posts
              As we speak of file-manager ...

              Am I the only one who finds missing able to create symlinks?

              It’s just my opinion, but it’s pretty heavy having to go 5 subdirectories to reach the image directory templates and others further down the tree of directories.

              It would be great to be able to create symbolic links to go directly to the goal. smiley
              • The File Manager is just a PHP script. If PHP can create symlinks, I’m not aware of it.

                Heh... learn something new every day:

                http://il2.php.net/symlink

                Looks like it might be useful, although apparently it doesn’t work on Windows servers.
                  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
                  • 24421
                  • 44 Posts
                  Susan seems interesting, but like you say it does not work in Windows. (not a problem for me, I use Linux at office and in web servers, but not good for windows servers users)

                  Although, I had in mind a small table in the database to store the paths to the directories, and show these paths as links at the top of file-manager, like links to the ’home directory’ or ’up a level’ directory.
                  • The user comments on that PHP page had some interesting workarounds for Windows users. I didn’t pay all that much attention since I’m not, and do sincerely hope I never will be, on a Windows server, but they might be of use to those who are.
                      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