Hi there,
I’ve been trying to get ditto to summarize section summary so that it is the same order as the sidebar menu. My site is setup so that the first page each section summarizes the pages for that section. I’ve look around and played with the code but it just isn’t working. I’ve add &sortBy=’menuindex’ and still no luck. Here’s my code:
[[Ditto? &startID=`15` &showInMenuOnly=’1’ &sortBy=`menuindex` &dateFormat=`%B %d %Y` &summarize=`20` &removeChunk=`Comments` &tpl=`ditto_cfa` &paginate=`1` &extenders=`summary` &showPublishedOnly=`1` &tagData=`documentTags`]]
What’s wrong?
Please help. Thanks in advance.
Cheers
-
☆ A M B ☆
- 24,524 Posts
Your showInMenuOnly value is using single-quotes rather than backticks, although I don’t know if that’s causing your problem. What version is your MySQL database? There is one common version that has a bug that breaks certain types of sorting and grouping.
I changed the quotes and that didn’t work.
I also looked for the Group by statement but couldn’t find it.
I’m also going to update mysql this weekend though I am running version 5.0.22 which should be OK. I’ll update anyways and see if that helps.
Thanks for the replies.
Cheers
Glenn