We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33238
    • 388 Posts
    undecided undecided i hope you can understand what i need, because i don.t have idea how to do that.

    I.m calling the children with ditto:

    [!Ditto? &parents=`63` &display=`all` &total=`all` &showInMenuOnly=`0` &orderBy=`menuindex ASC` &extenders=`summary` &randomize=`1` &tpl=`nl_sidebar` !]

    The ditto is displaying a number [*pagetitle*] of every children

    ??? huh huh BUT i need that the ditto display only pages with range number between 50 and 100, or less than 50... huh huh huh

    how can i do that?

    Thank you very much!!! grin grin grin
      --
      ysanmiguel.com
      • 26016
      • 561 Posts
      Hola,
      Here’s something to try....

      &filter=`id,50,3|id,100,4`


      This should remove anything below 50, and remove anything above 100. Filter is a little confusing, because you exclude rather than include stuff. I also tried &where, but that simply doesn’t work. Ditto is funky.

      I think this would pick out things less than 50:
      &filter=`id,50,5`


      Try them out and see. Here is more info:
      http://ditto.modxcms.com/tutorials/basic_filtering.html

      Ciao,
      Dave
        MODx and Wordpress development
        Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4
        • 33238
        • 388 Posts
        Thank you mate. i will check!!! smiley
          --
          ysanmiguel.com