mu.nu - It's mackerel stewed in chocolate!

August 13, 2005

Stupid Question

I know there's a way to do this -- I read it in the manual, but now I can't find it.

Simply -- I want to have my monthly archives in ascending order -- starting witht he first of the month and going to the end, rather than the reverse. What part of the template do I need to change to do that?

Posted by: Warren Kelly at 05:53 PM | Comments (6) | Add Comment | Trackbacks (Suck)

1 In your Date-based Archive template, your going to want to find the section that look slike this:

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

<MTDateHeader>
<h2 class="date"><$MTEntryDate format="%x"$></h2>
</MTDateHeader> and so on...

You need to add a sort attribute to the MTEntries tag. To do this, change the line that reads:

<MTEntries>

so that instead it reads:

<MTEntries sort_order="ascend">

Then save the template and rebuild your archives.

Paul

Posted by: Light & Dark @ at August 13, 2005 09:55 PM

2 Thanks, Paul!

Posted by: Warren @ at August 13, 2005 11:38 PM

Hide Comments | Add Comment






Processing 0.0, elapsed 0.009 seconds.
22 queries taking 0.0065 seconds, 24 records returned.
Page size 6 kb.
Powered by Minx 0.8 beta.