We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24634
    • 58 Posts
    I would like to use a TV (loc-TV) to store subject headings from the library of congress
    loc-TV = heading-1 || heading-2 || heading-3


    I what to output the delimited items from loc-TV in a template:
    <li>[[+loc-TV]]</li>

    OR
    <a href="some-url">[[+loc-TV]]</a>


    Producing the following output

    <li>heading-1 </li>
    <li>heading-2</li>
    <li> heading-3</li>

    OR
    <a href="some-url">heading-1</a>
    <a href="some-url">heading-2</a>
    <a href="some-url">heading-3</a>


    Special requirements for the project. The resources (including TV values) will be imported from CSV via importX.

    ImportX does not import tags from Tagger or possibly MIGX TVs since they are stored in different mysql tables, so that ruled out using Tagger or MIGX.

    Or does MIGX's getImageList work with default Template Variables? I have not used MIGX.

    Open to other suggestions for importing resources instead of ImportX.

    Simple is best, as I will be turning this over to low tech people to manage the content uploading and editing.

    Any help will be appreciated.

    Thanks

    Roy
      • 36722
      • 101 Posts
      I'd just stick with Auto Tags , it's a straight CSV type data format I believe. I think even MIGX uses just JSON , so if you first convert the titles to JSON you can use it.
      I'd be curious to know more about the use case as a whole, might help me wrap my head around it.
        Shawn Himmelberger
        Himmelberger Design
        https://himmdesign.com/services/website-development/modx"" target="_blank" rel="nofollow"> MODx Web Design | https://himmdesign.com/services/website-development/modx"" target="_blank" rel="nofollow"> MODx Web Development