Feb 152005
 

I learned a useful MovableType trick from Chuck, who has Pie in the Lunchroom.

It’s a really simple MT hack that sorts entries in the date-based archives in ascending, not descending order.

Descending makes sense on the index; you want to see the latest, not the oldest. But when you look at the archives it’s sort of non-intuitive to work back. You want to read oldest to newest.

The change is super-simple. Just edit your Date-Based Archive, and replace this code:


     <MTEntries>
     <$MTEntryTrackbackData$>

With this code:

     <MTEntries sort_order="ascend">
     <$MTEntryTrackbackData$>

I think you can do the same thing with category archives but I’m considering if that makes sense or not.

Thanks, Chuck!

  One Response to “Date-based archives, new and improved”

  1. I’m here to help.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

/* ]]> */