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!
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
Hello,
Do I have to use an order by in my ditto call ?
-
☆ 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
Helen Warner
Number one pixel!
Proud to be linked with MODX at
Crimson Pixel
[!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.
-
☆ A M B ☆
- 350 Posts
Thats brilliant thanks for the help
Helen Warner
Number one pixel!
Proud to be linked with MODX at
Crimson Pixel