I have a question - I am looking to manipulate data in a certain order. So as we input data (Im guessing MIGX) and post lets say our scores. So as the data is being inputted into the system then the system should be able to manipulate and re-order the data based on scores. What is the best way to do this? Or do I need to do this in Excel and then import it into the site? Thoughts?
Billy Koch
Follow me on Twitter:
@DefKoch
Skype: billyk0ch
-
- 24,544 Posts
You should be able to sort them on any field in the DB row that holds a score. The method depends on how they're stored and how you're retrieving them.
With MIGX, you can do something like this:
[{"sortby":"age","sortdir":"DESC","sortmode":"numeric"},{"sortby":"name","sortdir":"ASC"}]
See:
http://rtfm.modx.com/extras/revo/migx/migx.frontend-usage