May 10, 2005

Reformatting Archive Entry Links

So, I'd like to reformat the way my archive entry links display. Specifically, I run weekly archives and use this code to display the links to the archives.

<MTArchiveList archive_type="Weekly">
<a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a><br />
</MTArchiveList>
This ends up looking like this:

October 31, 2004 - November 06, 2004

I'd rather have it look like this:

10/31/2004 - 11/06/2004

I've looked for a way to do this, but couldn't find it. Any suggestions?

Eric

Posted by EricC at May 10, 2005 05:12 AM
Comments
#1

Have you tried using the date formatting options? I don't know if they work for the archive titles though. Something like <MTArchiveTitle format="%d/%m/%Y"> might do the trick.

Posted by Pixy Misa at May 10, 2005 06:48 AM
#2

I've tried that one and it just leaves me with a big blank spot where the archive links should be. I didn't think it would work since it wasn't mentioned in the manual. I actually did RTFM, amazingly enough. :)

Posted by Eric at May 10, 2005 10:05 AM
#3

Oh well, worth a try. ;)

Posted by Pixy Misa at May 10, 2005 03:29 PM
Live Comment Preview
Post a comment









Remember personal info?