We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11180
    • 10 Posts
    I need some dynamic content to be displayed so i used CS4 to grab a league table and present it in html. This worked perfectly within CS4 and I could mess about with the styling until it looked neat and tidy!

    I uploaded the SpryHTMLDataSet.js and SpryData.js to a scripts folder. copied out the relevant html code and created a chunk. I inserted the chunk into one of resource docs, but the league table doesn’t show?

    I can forward / post more detail if needed.... But thinking I may have missed out something really simples!

    Thanks for your response in advance

      • 28042 ☆ A M B ☆
      • 24,524 Posts
      When working with complex javascripts, I like to create a document with no template, as well as disable QuickEdit (the front-end editor when logged in as manager) and thus there is no possible conflicting javascript. Once I get my complex javascript application working on this blank page, I start adding parts from the template I’ll be using, one step at a time. This way if there’s a conflict, I can determine if I can fix it, work around it, or just need to create a different template for the page with the conflicting javascript application.
        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