We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30912
    • 463 Posts
    Im a little confused ehre, ive used this snippet set up quite a few times but for some reason the selected results just arent showing in the manager:

    TV: relatedDocuments

    Type: Multi Select Listbox
    Output: Delimiter set to ,

    Input Options:

    @EVAL return '--- Choose Item ---'.$modx->runSnippet('getResources',array('parents'=>'17,18,19,20,21,22,23','tpl'=>'resourcesList','limit'=>'30'));

    Resources List tpl:


    This all generates the listing which i cna select, its outputted on to the front end accordingly. When i go back into edit the page, the Multi Slect is just retaining one of the 3 values i choose - yet exactly the same snippet on a different install the values are there without issue.

    Im quite confused smiley

    [ed. note: Tyreal2012 last edited this post 10 years, 5 months ago.]
      • 37110
      • 72 Posts
      Try adding the context to the getResources call.