October 31, 2004
I realize I'm a bit late to the game on this one, but there may be other folks out there who would also like to automatically number their blog comments and don't know how or think it might be too difficult.
I always thought it would require some complicated programming or some arcane use of Movable Type tags. How wrong I was.
It's actually quite simple - thanks to Left in Front for showing me the way. Basically, you need to add the
MTCommentOrderNumber tag (Movable Type user manual) to your Individual Entry Archive template.
Here's how I added it to my template:
Then all you have to do is to style your comment number via the
<span> tag you inserted. I floated mine to the right and then just styled the font and added the necessary margins, padding and colors. Easy!
Sidenote: Of course, if I hadn't just unwittingly deleted a whole bunch of legitimate comments as a result of an overzealous reaction to a huge spam attack (got a litttle too free and easy with MT-Blacklist), I would actually have some recent comments to show how I've implemented this feature. [Sigh]
Posted on: October 31, 2004 | No comments
Comments are closed for this entry.