to eol:
I have installed Ditto 2.0.1 in MODx 0.9.6.1p2 and sortBy=`tvsometv,pagetitle` didn’ť work, now i’m upgrading all to MODx 0.9.6.3 so i’m corious if it will work
Ah, now there is a way to do this within ditto. don’t need to write anything major I suspect, let me have a quick look at how we did it (tis been a little while since I looked at this) and I’ll update this post.
Cheers
Jamie
&sortBy=`ArticleRating` &sortDir=`DESC` which is included into our ditto calls here. I would say that ArticleRating is a plain text TV with a number in there.
Also I’m using Ditto 2.1, I don’t know if that’s the version your using as 2.01 or not, which ’resolved’ an earlier bug where sort on TV wasn’t really working (if i remember correctly, i could be wrong.)
http://modxcms.com/Ditto-2.1-1878.html
Cheers
Jamie
Quote from: Eol at Jan 08, 2009, 02:57 AM
orderBy, not sortBy (Ditto 2.1+)
Ah, I’m using an earlier build of 2.1 from the SVN I thinks, gotta update that soon.
Glad it works for you!
Cheers
Jamie