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

    I have a link to an JSON object. Now I have to display it's content in the forntend. Is where any snippet for this or can do it in any other way. like output modifier?

    Thanks
    István
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      You can convert the JSON to an array, then loop through the array to output the elements into an HTML structure.
        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
        • 34103
        • 47 Posts
        Ok, I'm not a software engineer. All my knowledge includes HTML and CSS. Currently I try the snippet SIMPLX and it seems it could solve my needs.

        Thanks
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Heh. I'm hardly a software engineer myself, but if I can find an add-on where somebody else has already done all the hard work, then I'm more than happy to use it wink
            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