This is the blog of Adam Kalsey. Unusual depth and complexity. Rich, full body with a hint of nutty earthiness.

Content Management

Archive Date Header Plugin

In the Movable Type support forums I’ve seen requests for the ability to group archives by date. Most of the time, people want to have an archive index that looks something like:

2002 August July June May April March February January

2001
December November October September August July June May April March February January

There have been a few people that have posted solutions using PHP or JavaScript, but I thought it would be nice to do this straight out of Movable Type.

Thus the Archive Date Header plugin was born.

Tim Appnel has taken over the maintenance and support of this plugin as of Oct 2004.

Download

You can get this plugin by downloading ArchiveDateHeader.zip

Installation

Unzip ArchiveDateHeader.zip and connect to your FTP server and open the directory where you have Movable Type installed.

Create a directory there called plugins if there isn’t one already and copy ArchiveDateHeader.pl to the plugins directory.

Using the plugin

Once you’ve installed the plugin you will have a new container tag, MTArchiveDateHeader. The tag only works within an MTArchiveList container tag, and if you try and use it elsewhere, you’ll receive an error.

If you use monthly archives, the contents of this container will only be printed when a new year starts.

If you use weekly archives, the contents of this container will only be printed when a new month starts.

If you use another sort of archive, the contents of this tag won’t be printed at all.

Here’s an example:

<MTArchiveList archive_type="Monthly">
<MTArchiveDateHeader>
<p><b><MTArchiveDate format="%Y"></b></p>
</MTArchiveDateHeader>
<a href="<$MTArchiveLink$>"><MTArchiveDate format="%B"></a> 
</MTArchiveList>

License

Like our other freeware, this plugin is released under the open-source MIT License. In plain English, that means you can do whatever you want with the software, including modifying it, selling it, or eating it, but we’re not responsible for anything that goes wrong.

Revision History

1.0 - August 4, 2002 Initial release.

Recently Written

The Pumpkin Talks Back
Nov 6: I gave my flaming jack-o'-lantern a voice, a camera, and a personality, and let it insult trick-or-treaters for six hours.
A Skills Wheel for Product Designers
Oct 18: I love Petra Wille's PM Wheel for product managers. I couldn't find an equivalent for designers, so I built one.
Where Does Product Marketing Belong?
Mar 6: The debate about whether PMM reports to product or marketing has a simple answer once you ask the right question.
The Rise of Vertical Software
Feb 15: AI makes execution cheap. Deep industry knowledge becomes the real moat.
Using Chatbots as a Tutor
Feb 11: A prompt that turns your LLM chatbot into a custom tutor.
How to Interview Product Managers
Nov 9: Most people never learned to interview, so when thrust into hiring a product manager they ask bad questions. Here's how to ask better ones, with lots of examples of real questions.
AI as Your Strategic Thinking Partner
Oct 12: AI becomes a lens on your own logic. It doesn’t replace your judgment—it sharpens it. By asking questions you wouldn’t think to ask yourself, it turns private reasoning into something visible and testable.
Your OKR Cascade is Breaking Your Strategy
Aug 1: Most companies cascade OKRs down their org chart thinking it creates alignment. Instead, it fragments strategy and marginalizes supporting teams. Here's what works better than the waterfall approach.

Older...

What I'm Reading