Neil Turner's Blog

Just another WordPress site

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.

Related Posts:

This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-ShareAlike 2.0 UK: England & Wales License.

Comments are closed.