We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10208 ☆ A M B ☆
    • 1,780 Posts
    I can't seem to get static resources to show the content area. It doesn't matter if I set it to static ahead of selecting a file, or if I select a file. All I get is the file name and the resource border just below this with no content area.

    So since this is a static conversion with just a few resources, I went ahead and x'd the installation and reinstalled. Same result.

    When I search, Google shows me a result from the rtfm that says if you have missing content, let us know. New rtfm does not have this text. Regardless, perhaps someone has seen this before. If not, as searching is coming up with nothing in the forums, I suppose I submit a bug report.

      Frogabog- MODX Websites in Portland Oregon
      "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
      Having server issues? These guys have MODX Hosting perfected - SkyToaster
      • 3749
      • 24,544 Posts
      Did you also set the Media Source to Filesystem?

      If so, check the settings of that Media Source in Tools -> Media Sources.
        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
        • 10208 ☆ A M B ☆
        • 1,780 Posts
        Yes, it's set by default on install, but I went in and clicked the revert to default and saved it anyway. No joy.

        Have seen this intermittently on other sites but I can't nail down when and where. Most other sites have been switched to document so it's not an issue, but this one is still in templating.
          Frogabog- MODX Websites in Portland Oregon
          "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
          Having server issues? These guys have MODX Hosting perfected - SkyToaster
          • 3749
          • 24,544 Posts
          I suppose you've tried turning off compress_js and compress_css and clearing the cache and the browser cache and cookies. If so, I'm out of ideas.
            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
            • 10208 ☆ A M B ☆
            • 1,780 Posts
            Yep, yep... yep, and yep. Amongst other things. Dangit.
              Frogabog- MODX Websites in Portland Oregon
              "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
              Having server issues? These guys have MODX Hosting perfected - SkyToaster
              • 3749
              • 24,544 Posts
              Wait, do you mean that you don't see the Static Resource's content in the Manager or when viewing the Resource in the front end?

              I think not seeing it in the Manager is normal (unlike static elements).

                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
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Correct. A static resource's content is not displayed; its content is the path. Elements have both a content field and a static_file field for the path.
                  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
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  To elaborate... static resources can have their content in a file, or they can actually represent a file, such as a .pdf file. A link to the static resource will (if given a custom content type and a content disposition of attachment) product a download dialog rather than displaying the resource's content. They can point to files of any type, from images to text, in or out of the web root. So having the content of the file they're pointing to displayed in the editing form would not even be possible in many cases.
                    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