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

    I want a ramdomized Ditto Output of 1 document on my startpage.
    I use to test this syntax:

    [[Ditto? &tpl=`DittoAngebote` &startID=`6` &paginate=`1` &summarize=`1` &randomize=`on`]] 
    


    But it only shows the same output. After pressing F5 it will still be the same output.

    Any ideas?
      • 22586
      • 74 Posts
      I am a beginner to ModX , but something I noticed is that you use [[ double square brackets ]],

      Instead maybe use

      [! Ditto Blabla !]

      So bracket + exclamation mark, to prevent caching the document. Worth a shot...or wait for the real experts wink
        • 33337
        • 3,975 Posts
        Paintbox is right smiley

        regards.
          Zaigham R - MODX Professional | Skype | Email | Twitter

          Digging the interwebs for #MODX gems and bringing it to you. modx.link
          • 18397
          • 3,250 Posts
          This would be the correct call if you are using Ditto 2:

          [!Ditto? &tpl=`DittoAngebote` &parents=`6` &display=`1` &randomize=`1`!]