A few more Textpattern odds and sods.
Finishing off the hacks to the comments.php file in Textpattern (see also TXP notes 3) is the introduction of a small feature from MovableType that I miss. When receiving email notifications of comments, they always had the relevant entry URL in them. You see the comment and want to reply, so just click the link to go straight there.
Here’s how to do this in TXP. In publish/comment.php find this line near the end (should be line 374 if you haven’t already hacked it):
$out = "Dear $RealName,\r\n\r\nA comment on your post on your post \"$Title\" was recorded.
Change it to this:
$out = "A comment on your post \"$Title\" (http://www.sitename.com/blog/$parentid/ ) was recorded.
Just change the URL to suit your site, and the parentid will add the relevant id into the URL. Incidentally, if you’re upgrading textpattern to the latest RC, and you’ve installed these hacks, then you just need to change 1 line of code in order to keep your customised version.