Neil Turner's Blog

Blogging about technology and randomness since 2002

Fixed a template bug

I’ve fixed a long-standing template bug on the home page that came about as a result of me updating the OnThisDay plugin in the summer. It’s one of the oldest plugins on here, and would have been installed in 2002/3 when I first began using MT, but version 2 was released last year with better MT 4 compatibility so I upgraded.

Anyway, it turns out that the update introduced a template change. Instead of doing this:

<MTOnThisDay>
<MTEntries>
...
</MTEntries>
</MTOnThisDay>

you just do this:

<MTOnThisDay>
...
</MTOnThisDay>

Keeping the <MTEntries/> tags in leads to some rather ugly recursion which is what you may have previously seen on the home page. It now looks as intended.

Incidentally I will be upgrading to the fully open source version of Movable Type 4.1, now that it is available.

Comments are closed.