We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33238
    • 388 Posts
    Hello.

    i have a TV.

    Template Variable Name: [*lees-ook-div*]
    Input Type: Check box
    imput option value: Show Lees Ook=={{showLeesOok}}

    Wen the user check the box, this call a Chunk that contain a Ditto call.

    <div id="box_general">
    <p> [[Ditto? &amp;parents=`[*id*]` &showInMenuOnly=`0` &amp;display=`all` &amp;total=`all` &amp;tpl=`nl_sidebar`]]
    </p>
    </div>


    The Chunk must to show me a list with the children of the document were the check is activate.

    but now is showing all the parents.

    i.m trying with [+id+] and doesn.t work, but if i use the ID number directly, it works!!!

    Ex: [[Ditto? &amp;parents=`54` &showInMenuOnly=`0` &amp;display=`all` &amp;total=`all` &amp;tpl=`nl_sidebar`]] undecided undecided undecided

    But i need it dynamically that show the children in every page that i activate it.

    Some Ideas???

    Thank you very much!!
      --
      ysanmiguel.com
      • 18373 ☆ A M B ☆
      • 3,141 Posts
      Random idea: try using [!Ditto...!]

        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
        • 33238
        • 388 Posts
        Idea Accepted!!
        Idea Tested!!

        and WORKS!!!!!!!!!!!! grin grin grin grin

        Yeahh man You Rocks!! Thank you Very Much!!!!
          --
          ysanmiguel.com
          • 18373 ☆ A M B ☆
          • 3,141 Posts
          That might be one of the best reasons to upgrade to Revolution: recursive tag parsing eliminates the need to think about cached/uncached behaviour. tongue

          Glad your problem is solved now.
            Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

            Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
            • 33238
            • 388 Posts
            Thank you very much!
              --
              ysanmiguel.com