Help - Search - Members - Calendar
Full Version: latest comments to the site...
Movable Type Community Forum > Additional Resources > Tips and Tricks
jimmijimjim
I want to have something on my site that says the latest comments posted to any article...

like:

"[so and so] says "[first 15 words of comments]..." about the article, [article name], posted in the [section name] section"

Is there a way to do this?
RisenNDeed
Check out the Comments section of the manual. Specifically:

CODE
<MTComments lastn="6" sort_order="descend">
<p><$MTCommentAuthor$> said:<br />
<$MTCommentBody$></p>
</MTComments>

To limit the characters in the Comment body add
CODE
<$MTCommentBody remove_html="1" trim_to="75"$>
jimmijimjim
very cool... i found that in the MTPlugins site, but i didnt see if you could make it list the entry name of the entry that the comments refer to.
elisebauer
See also Recent Comments.
jimmijimjim
I think that will work. Is that what they used to do it on this page?

http://www.cynics.info/translate/
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.