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

    im trying and trying and dont get it.

    My Problem: I have a ModX Installation for a Conference Website. In my document tree are 2 containers. One for Speakers and one for the Presentations. I have to link one or more Speaker to a Presentation Ressource. So i took the superboxselect Addon and for example linked ressource 45 and 46 to the Presentation because it has to speakers. If i have a look on the Page it displays only the ID's of the Speakers and not the content so i tried to get all of this information i need with getresources and put the SuperBoxSelect TV in the &resources List but it seems it can't read the separated list with |. So do you ha any idea how can i Display On the Presentation Detail Page the Linked Speaker Informations (Title, Content and TV Speaker Picture) is there maybe any other Addon etc.?

    Thank you very much

    greets Dr0m
      • 4172
      • 5,888 Posts
      you can try output-options->output-type: Delimiter
      Delimiter: ,

      for your TV.
      Then should getResources be able to use the comma-seperated output in its &resources - property
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 40572
        • 10 Posts
        Hi Bruno 17,

        Where i have the Output Type Delimiter? I just have Standard stuff like: Image, Text, etc....

        I am searching for the Delimiter but it sounds good. Thank you very much.

          • 40572
          • 10 Posts
          Okay i found the Delimiter. I set the Delimiter to , for the Template Variable "Speaker" (Input Type is superselectbox) and then i call the getResources Snippet like so:

          [[!getResources? &parents=`13` &resources=`[[*Speaker]]` &tpl=`Speaker`]]


          But it still only show 1 Item instead of 2.

          Any ideas?

          Thanks very much Bruno 17

            • 40572
            • 10 Posts
            I solved it now! Thanks again Bruno 17 i had to set parents to -1.

            [[!getResources? &parents=`-1` &includeTVs=`1` &includeContent=`1` &processTVs=`1` &resources=`[[*Speaker]]` &tpl=`Speaker`]]