Quote from: mrhaw at Jan 07, 2009, 04:39 AM
Like this: http://wiki.modxcms.com/index.php/Category_Tagging_with_Ditto ?
But the page describe Tagging with Ditto, this I don’t need, I need how can I sort the ditto output on the basis of the content in the TV.
In my example is ditto output sorted by
pagetitle, but how can I sort the output by e.g. TV category. Every document belongs only to the one category, e.g.
Docuemnt 1:
pagetitle - big dogs
TV category contain - dogs
Document 2:
pagetitle - small dogs
TV category contain - dogs
Docuemnt 3:
pagetitle - nice cars
TV category contain - cars
Document 4:
pagetitle - ugly cars
TV category contain - cars
in my ditto call will be the ditto output sorted like this, on the basis of the
pagetitle:
big dogs - (category - dogs)
nice cars - (category - cars)
small dogs - (category - dogs)
ugly cars - (category - cars)
And how can I sort the output like this, on the basis of the
TV category and then of the basis of the
pagetitle:
nice cars - (category -
cars)
ugly cars - (category -
cars)
big dogs - (category -
dogs)
small dogs - (category -
dogs)