We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 41710
    • 18 Posts
    laura_anderton Reply #1, 14 years ago
    I have a list in GoogleDocs that I'd like to display in ModX. I'm happy to copy and paste it over, however I'd like the first ten lines to be displayed in a separate area as well. The best way I can think is to use GetResources and placeholders, however if there is an easier way to manage a list that would be awesome (since it's really just one document I want to show the first ten items from, not a bunch of resources).

    I'd also like to be able to display the number of items in the list (it's a petition and I'd like a "## people of signed" message on the front page).

    Thank you for any help!
      • 4172
      • 5,888 Posts
      which format has your list? json, csv, xml, html-table .... ? should be possible to copy/paste it into a TV. A snippet could convert it to an array and output your list-items in any format you want.
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 41710
        • 18 Posts
        laura_anderton Reply #3, 14 years ago
        I can export it in whatever format. Is there a tutorial on doing that with TVs?
          • 41710
          • 18 Posts
          laura_anderton Reply #4, 14 years ago
          Bump. Just wondering how best to handle a list of items. Can TVs do this now?
            • 4172
            • 5,888 Posts
            If you can export it as json and paste it into a textarea-tv, you could probably use the getImageList-snippet of the MIGX - Extra for outputting your list.
              -------------------------------

              you can buy me a beer, if you like MIGX

              http://webcmsolutions.de/migx.html

              Thanks!