Quote from: Mark at Jan 14, 2007, 12:33 PM
"My only thought is that I could have Ditto sort by a TV, into which the user could enter a ’priority’ number. "
This is the most logical approach. To set this up create a TV called sort with a default value of 0.
Then append &sortBy=`tvsort` to your Ditto call and Ditto will take care of the rest.
I’ve done as you suggested, however I still can’t get Ditto to change its order - It still displays the content in descending doc id order, despite my having specified different numbers in the ’sort’ fields. The structure of my documents is as follows:
<parent doc containing ditto call>
- <content doc 1> (The template that these content docs use has the ’sort’ tv attached to it)
- <content doc 2>
- <content doc 3>
- etc
My ditto call looks like this:
[!Ditto?&tpl=`box_product_temp`&summarize=`50`&sortBy=`tvsort`!]
Is there something I’m missing, or extra parameters that Ditto needs?