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

    I was wondering how I could include a number of html files into my Modx structure. The files contain tables with results from runners and are interlinked. The easy way is just to link to the files on the server, but that shows the files without the template makeup. So, what’s the preferred solution to include (20+) html files? Should I write a simple snippet that includes these? Should I use a TV with @FILE binding?

    Thanks.
      • 26482
      • 138 Posts
      Hi,

      Am I missing something obvious here? Is this easy or difficult?

      Thanks.
        • 3749
        • 24,544 Posts
        Both of those will work. You could also just paste them into chunks and include them with {{ChunkName}}. Or, you could just paste their code into the Content field of each resource.

        You can create another simplified template for those pages.
          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