i know you want them. i see you looking at my comment permalinks, touching yourself. go on, i know it feels good.
and the good news is, they are very easy to do! there may be a tad bit’o'wonkiness if you use the popups, because the permalinks go to the entry page itself, but i don’t think it would be bad wonky. they do work best with the ‘inline’ style of comments, just so you know that before you dive in.
see more for code:
two steps:
one: add the anchor tag above the comment in the individual entry archive template. you could also add them to your comment template, but you do know that they will lead to the individual entry page. they have to lead to the same place to be permalinks. like so:
<a name=”<$MTCommentID$>”></a>
right above the <$MTCommentBody$> tag.
two: add the link to the end of the comment, right after the ‘posted by’ information is a good spot:
<a href=”<$MTEntryLink$>#<$MTCommentID$>”>link it</a>
and that’s it! i hope you all appreciate my typing < and > that many times, so that you can see the tags. i work so hard for you




You are such an MT Queen!
Such fun geekiness…
geekiness is the most fun ever.
Thanks Mom!
Question. The hell is a permalink? I read what you wrote and I wasn’t sure if I was supposed to think that it’s a fancy-shmancy anchor reference or a neat-o way of forever linking you to something in the big ol’ world o’ The Blog.
Seriously, it’s really a way for you to tag us like cows, right? Am I right? … What?
*snicker* tag us like cows. no, no, not really.
see the “link it” at the end of every comment? it’s how you link *directly* to that particular comment, and in an especially busy comments section (or a screeching flame war) sometimes that function is very useful.
If you tag us, are you planning to follow our migration patterns and the like? Like Wild Kingdom, only with Bloggers.
Oh man, I just realized how much I miss Marlin Perkins. Sigh.
oh! Marlin Perkins!
“I’ll just stand here i the boat while my assistant Jim jumps into the snake-infested swampwater … ”
*sigh* Mutual of Omaha’s Wild Kingdom. those were such the good old days.
“those were such the good old days”
Happy days are here again. tra la, tra la, tra la…
Leave it to Link to put up the Link.
“Watch my assistant Jim as he goes into convulsions from sampling the toxic mushrooms.”
That’s my job. That’s what I do.
Duh…… well the non-geek doc. is going to try to become a geek today. Will let you all know how it turns out– I can see the results already!!
Later.
Ooohhhhh. Permalink lust. Baby, can I touch your, um, links?
Comment permalinks!
kd::comment permalinks in MT Leave it to KD to fucking rock! I know, all my lurkers will never use the
queen of the niggerati
Zora Neale Hurston, some links and white chicks with big voices.
kd you rule. i’m all permalinky
I’ll admit my idiocy (like it isn’t obvious anyway). What are the comment permalinks useful for, that you can’t get from linking the post? I’m just asking cause I’m really clueless.
When you talk geek like that, kd….makes me wanna force your hand down the front of my virtual trousers.
well, wKen, the reason would be, say you have a whole buncha comments on a post and you want to reference a particular comment. a comment permalink allows you to give a link instead of saying “scroll down till you see the comment by so-and-so that says this”. handy and useful in lengthy discussions, debates, things of that nature.
in fact a person who took grave offense to something i said last week used that feature to link to her own comment from her site. i think. yeah, pretty sure it was a specific link.
and hoopty, when do you *not* have your hand down your virtual trousers?
I have no idea what it means, but I’m still strangely aroused by it.
Great stuff! I understand what the permalinks are, but how do we get inline comments?
well, you already have them — MT puts the comments into the individual archive template from the popup, so all you really have to do is change the comments link to:
<a href=”<$MTEntryLink$>#comments”>comments (<$MTEntryCommentCount$>)</a>
and make sure there is an anchor tag called ‘comments’ above where your comments begin. defaults come that way.
i don’t use any popups, because i like to organize all the stuff related to any one post in its own page.
oh. and you might want to do further customization of your comment preview screen if you’re using that style, but it’s not all that necessary. (i don’t use the preview because it conflicts with the subscription script due to some PHP settings on my server over which i have no control).
Hooray for the MT goddess.
Now people may pinpoint my “comment trolling” and point me out much easier. :0)
Thank you so much for this.