We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25547
    • 61 Posts
    Hi,

    When I make a file test.shtml in my home directory, with a SSI in it it works fine (not in modx), but with modx freindly url’s set to .shtml they just print it as a quote.
    How do I get modx to parse server side includes?

    Thanks for your time  grin
      • 25547
      • 61 Posts
      No- one? Is this not possible?
      :’(

      Thats not good embarrassed
        • 25663 MODX Staff
        • 12,272 Posts
        MODx does not work with SSI.
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 25663 MODX Staff
          • 12,272 Posts
          Sorry for being short on this one, if you’re needing to include common elements of HTML like a footer, you’d use chunks. If you need to include code that executes, you’d use PHP code in snippets. What’s the functionality you’re needing from SSI?
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 25547
            • 61 Posts
            Because I got loads of errors with php includes.

            This might be because my php is running as cgi so the relative links are different?
              • 25663 MODX Staff
              • 12,272 Posts
              Are you using snippets at all?
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 25547
                • 61 Posts
                i am trying to make this
                http://www.gentlesource.com/news-script/
                work with it.

                But I get document not found errors on all the php includes in the script.
                  • 25547
                  • 61 Posts
                  I tried, and gave up creating a news system in modx. The basic blog tutorial on the website uses obsolete snippets