i posted this in another section of the forum, but i don’t know if it was in the right place. please forgive the double posting. i have set up a blog site using ditto and jot for the comments. everything works great. my problem is that i want to have a section that lists the blog posts with the most comments. i’ve been trying to figure this out for about a week with no luck. i’m still rather new to modx, so any advice or direction would be greatly appreciated. thanks in advance!
-
☆ A M B ☆
- 24,524 Posts
i’ve read through that section a bit before i posted. wanted to make sure someone else didn’t have the same problem. is it possible to store the result of this jot call inside a tv and then use ditto to sort by the tv?
[[Jot? &docid=`[+id+]` &action=`count-comments`]]
if so, how do i get that value inside a tv?