I just finished making my first movable type plugin and that was quite easy. It’s quite impressive how easy it was, and pretty cool that you can – with ease – change some undesired behaviour into what you want. So what does it do?

The so called permalinks in movable type 3.x is much nicer than those of the MMT 2.x-series, but not the way I want them, so I changed them. My individual Entry Archive filename looks like this:

< $MTEntryDate format="%Y/%m/%d"$>/< $MTEntryTitle trim_to="40" dirify="1"$>< $MTEntryKeywords trim_to="40" dirify="1"$>/index.php

It gives a filename looking like this:

Year/month/date/title-of-entry/index.php

This is almost what I want. The only issue is the “index.php” which is needed to create the file name – that really should be there in links to the page. I used to get it removed by applying a patch to the MT.pm file, but my new patch makes a “noindex” file available in the templates which removes the index-part of the filename.

Want the source? – stay tuned. It’ll be available soon.