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

    my resource tree looks like this (simplified):

    - main menu
    -> subpages
    - container for contacts
    - a lot of "business cards"

    Now I have a template with a multi-select listbox TV [tt]bcdocs[/tt]. The TV is automatically fed by those "business cards" (the selected persons represent the contact persons for what is presented on my page). When I output documents with that template, I want to output a list of the corresponding contacts. Usually, I would use ditto for that, so thats why I ask here.

    I use &documents=`[*bcdocs*]` but this does not work. The value of bcdocs is a list of the document IDs that are not separated from each other. I.e. when I select douments 12 and 25, this results in ’1225’ and Ditto tries to use resource 1225 (wich does not exist). If I change the TV to single-select, it works fine.

    How can I use the value of my multi-select TV as the source for Ditto?

    Thank you very much for any ideas
    Martin
      • 26931
      • 2,314 Posts
      Hi Martin,

      this should work (Quill): http://modxcms.com/forums/index.php/topic,45117.msg269043.html#msg269043

      use Multi Select List Box instead of Dropdown List Menu and Delimeted List Widget with a comma
        • 10313
        • 375 Posts
        Thank you very much!

        The widget was the solution smiley