We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39583
    • 103 Posts
    Is it possible to make a custom TV-Resource List as a checkbox list or multiple choice?
    And if that is possible, how?

    Would it be possible to also display longtitle as well as title in the checkbox list? If not never mind, a multiple choice TV Resource List is more important.

    Any help appreciated!
      --
      André
      • 40045
      • 534 Posts
      I have never tried to make it a checkbox list, but you could just try something like the following:

      @EVAL $output = $modx->runSnippet('getResources',array('parents'=>'0','tpl'=>'@INLINE [[+pagetitle]]([[+id]])==[[+id]]','outputSeparator'=>'||','sortby'=>'pagetitle','sortdir'=>'ASC','limit'=>'0','showUnpublished'=>'1','showHidden'=>'1','depth'=>'3')); return $output;
      


      insert this into the "input options" field of your tv (doesn't matter if checkbox or multiselect list).

      We had a rich discussion about that here:

      https://forums.modx.com/thread/?thread=79645&page=1

      maybe you find some more info there (and if you find a way to make it work with wayfinder, I would be very interested =D)
        • 39583
        • 103 Posts
        Awesome! Exactly what I was looking for!
          --
          André