We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14089
    • 56 Posts
    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!
      for all things independent, check out http://www.indieophile.com
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      There is a section in the forum for Ditto... http://modxcms.com/forums/index.php/board,180.0.html
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 14089
        • 56 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?
          for all things independent, check out http://www.indieophile.com