We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8847
    • 19 Posts
    I folow the instructions of the wiki tutorial here: http://wiki.modxcms.com/index.php/Basic_Blog

    But it don´t work.

    At the attachments you can see my modx manager with the documents I create, like the tutorial say, and what my site display.
      • 6726
      • 7,075 Posts
      We’ll need a bit more information to help you there such as a copy/paste of your Ditto call (and the version of Ditto/MODx you’re using).

      First thing that comes to mind though is that the document’s ID of the &parent parameter points to an empty container (i.e which has no children).

        .: COO - Commerce Guys - Community Driven Innovation :.


        MODx est l'outil id
        • 8847
        • 19 Posts
        I create the documents like you can see at attachment 4.png.
        At document show_blog I call Ditto like that:
        [!Ditto? &startID=`51` &summarize=`2` &total=`20` &commentsChunk=`CommentsBlog` &tpl=`BlogTemplate`!]

        The Ditto I´m trying is 2.1 (the last one in download section).
          • 8847
          • 19 Posts
          I apologize... embarrassed
          The problem is here:
          [!Ditto? &startID=`51` &summarize=`2` &total=`20` &commentsChunk=`CommentsBlog` &tpl=`BlogTemplate`!]

          The call must be like that:
          [!Ditto? &startID=`52` &summarize=`2` &total=`20` &commentsChunk=`CommentsBlog` &tpl=`BlogTemplate`!]

          Sorry
          embarrassed
            • 6726
            • 7,075 Posts
            No problem...

            Beware that while startID is working thanks to backward compatibility, the correct parameter to use now is &parents
              .: COO - Commerce Guys - Community Driven Innovation :.


              MODx est l'outil id
              • 25663 MODX Staff
              • 12,272 Posts
              And keep in mind that the syntax for the start ID has changed to &parents in recent releases.
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 8847
                • 19 Posts
                Thanks!

                Merci!

                Obrigado!