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 have set up a blog page using ditto and comments using jot. everything works wonderfully, but i want to sort the blogs by number of comments. i am having a hard time figuring out how to do it. i’m a little new to snippets, so any direction would be greatly appreciated. thanks in advance.
      for all things independent, check out http://www.indieophile.com
      • 14089
      • 56 Posts
      for those who might be interested, i figured it out. here is my ditto call....

      [[Ditto? &parents=`23` &tpl=`commentOrder` &dateFormat=`%a, %b %e %Y` &showInMenuOnly=1 &orderBy=`[+jot.html.comments+] DESC`]]
        for all things independent, check out http://www.indieophile.com
        • 14089
        • 56 Posts
        nevermind, that didn’t work. undecided any ideas?
          for all things independent, check out http://www.indieophile.com
          • 1343 ☆ A M B ☆
          • 2,213 Posts
          Hello,

          Just a quick note, but you can’t have & in your snippet call it needs to be just &. I suspect you have XHTML urls turned on which causes the problem if you are using tinymce as your editor.

          AMDbuilder
            Patrick | Server Wrangler
            About Me: Website | Tweets |  MODX Hosting
            • 14089
            • 56 Posts
            i changed that and it still didn’t work. undecided does anyone have any ideas on how to get this to work?
              for all things independent, check out http://www.indieophile.com