February 14, 2005 - Monday

Date-Based Edumacation

Regarding my last entry about reverse-ordered archives: If I'm gonna bitch about it, I guess I should tell you how to fix it, too.

If you're using Movable Type, do this:

1. Go to your Editing Menu and select Templates.
2. From Templates, select Date-Based Archive from the Archive-Related Templates section at the bottom of the page.
3. In the code of the Date-Based Archive template, find the following text:

div class="blog">
MTEntries>
$MTEntryTrackbackData$>

4. Change the MTEntries> line to MTEntries sort_order="ascend">

  • (Note: Each of those lines -- everything I listed in italics -- should begin with a "<" -- I had to take it out to write this entry because it wreaked havoc with my blog's formatting. I can't very well lecture you on how to format your blog when mine looks like crap, can I?)
5. Buy me something pretty as thanks for helping you get your blog right.

I'm still working on how to do this in TypePad, but I'll post it when I get it, GraceDavis. For everyone else: if you're not using some version of Movable Type, then you suck and you're on your own.

Class dismissed!

Posted by Chuck at February 14, 2005 01:07 PM
Comments

Thank you for fixing mine honey. Now I know why I pay you the big bux.

xx

Posted by: beth at February 14, 2005 01:14 PM

Dude!

Thank you!

That's been annoying me about MT forever but I didn't realize I could control sort order by template. That makes the date-based archives make SO much more sense!

Now I need to think about category archives, see if they make more sense this way or in descending...

Posted by: Karl Elvis at February 15, 2005 03:03 PM

Nu-uh! You suck! You and your Moveable Type and your non-reverse-order entries and your man-skirt and...and...your left ear! Your right ear is perfectly lovely. Indeed, angels have wept at its sheer beauty. But that left ear--

I shall say no more.

Posted by: Carol at February 16, 2005 12:57 AM