Hello everybody,
I’m still new in ModX and I have a little Problem:
I made an Eventcalender which is generated via Ditto and NewsPublisher.
I use the "Publish Date" box of NewsPublisher as the date of the event. Then I want Ditto to sort the Events by "pub_date" -so far it works.
But the latest event is at the bottom of the list...I need it the other way around.
Now it is like this:
- Event1, Date: 01.08.09
- Event2, Date: 01.07.09
- Event3, Date: 01.06.09
- Event4, Date: 01.05.09
And this is what I want:
- Event4, Date: 01.05.09
- Event3, Date: 01.06.09
- Event2, Date: 01.07.09
- Event1, Date: 01.08.09
Has someone got an idea how to manage this?
Greatings
Breen
You can choose bettween &orderBy=`pub_date ASC` or &orderBy=`pub_date DESC`
Glad it worked for you.