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

    Let’s say I have this chunk -> [[Ditto? &depth=`1` &parents=`3` &summarize=`4` &display=`4` &truncLen=`15` &tpl=`contenue_nouvelles` &extenders=`summary` &truncText=`Poursuivre la lecture...` &paginate=`1` &paginateAlwaysShowLinks=`1` &language=`francais-utf8`]]

    How would I have to change it if I want that my new documents that I create for it are at the beginning, and the others (which are very important), are placed in a certain order.

    Let’s say I want the document 78 79 80 81, in this order 81 79 78 80, and if I create a 82, I want it 82 81 79 78 80

    Thanks!
      • 22840
      • 1,572 Posts
      You can order them by menu index and set the index number on the docs in the order you want them to display starting from 0
        • 18225
        • 19 Posts
        Hello,

        Do I have to use an order by in my ditto call ?
          • 18225
          • 19 Posts
          figured, thanks!
            • 3866 ☆ A M B ☆
            • 350 Posts
            So how did you figure it out? I would like to specify the order of document being called but haven’t been able to sort this one.

            [!Ditto? &parents=`45` &tpl=`course` &filter=`tvcourseCatergories,Sail-Beg,7` &orderBy=`44 53 40 41` !]

            This calls all the details in the catergory but doesn’t sort them in the order I would like.

            Suggests huh
              Helen Warner
              Number one pixel!
              Proud to be linked with MODX at Crimson Pixel
              • 22840
              • 1,572 Posts
              [!Ditto? &parents=`45` &tpl=`course` &filter=`tvcourseCatergories,Sail-Beg,7` &orderBy=`menuindex ASC` !]

              Then set the menu number on the documents. To do this just edit the docs and you will see menu index.
                • 3866 ☆ A M B ☆
                • 350 Posts
                Thats brilliant thanks for the help laugh
                  Helen Warner
                  Number one pixel!
                  Proud to be linked with MODX at Crimson Pixel