We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4749
    • 623 Posts
    I’m trying to build a checkbox tv from menutitles of about 50 docs that are inside 5 containers.

    Is there a way to use @SELECT with multiple parents? Like this...
    @SELECT menutitle FROM modx_site_content WHERE parent = 1,5,7,8,9


    Or can I use a ditto to populate a checkbox TV with something like this?
    @EVAL return $modx->runSnippet('Ditto', array("parents"=>"1,5,7,8,9"));

      The MODx has you...
      Utah Web Design
      • 36592
      • 970 Posts
      Does not this work ?
      @SELECT menutitle FROM modx_site_content WHERE parent IN (1,5,7,8,9)

        • 4749
        • 623 Posts
        Awesome! That did the trick I think. They’re all showing up in the TV! I guess I wasn’t getting the syntax right. Thanks a bunch for your help!
          The MODx has you...
          Utah Web Design