Help - Search - Members - Calendar
Full Version: Creating a link to your Comments
Movable Type Community Forum > Additional Resources > Tips and Tricks
girlie
That would depend on what the link in your template looks like. If it uses MT tags, it won't work in your post, because MT doesn't process those tags within entries.

In other words, you'd have to hardcode the link.
bmk
Exactamundo.  :)
Outtacontext
Is there a way of creating a link to your comment section *within* the body of your post?

I was thinking about this and wondering if the link I use in the template would work, but I'm not sure.
Outtacontext
Yes, I'm using MT tags in my template. But how does one hard code the link? Wait, let me look at the code on my latest page to see how MT translated the MT tags...

Ok, here's what it did when MT translated my template comment link to html on the entry page:
CODE
<a href="#" onClick="OpenComments(45)" class="comments2">Comments</a>


Ok, is it fair to say that I can hard code a link directly into the story to my comments if I use the above code?

I'm assuming the "(45)" in the above code refers to the number MT attaches to each entry so I would just change that number to the one MT puts on my new story. Right?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.