Hello,
I want to be able to be able to write one piece of code in my "Entry" module that will be able to be used on all my blog entry pages regardless of the category.
I am trying to display the past 3 articles written within the same category of the Entry Post Page I am on.
For instance, at the bottom of this page http://audiophilereview.com/2010/11/test-2-homepage-post.html in the Related Articles and Content area nearly at the bottom, I want to display similar articles within this same category.
The code I'm using now to get what I have is as follows:
Related Articles and Content
Please be sure to read our other articles, including
">
and the ">
.
Is there anything like category="current" or something that I can use to pull from the same category the article is in?
Thank you!
Bryan
Reported on Movable Type 5

http://www.movabletype.org/documentation/appendices/tags/entries.html#related-entries-by-category
You might replace "glue" with lastn="3" unique="1" and add code for mt:EntrySummary to display more than the entry links.
the post is geat ,thanksss
Yeah, this is great. What would I add in if I want to exclude the current entry from this display?
On my Entry post page, I have a "Related Articles and News" area. I'd love to exclude the current post or the one I'm on from the list if possible.
Any ideas on that?
Thanks!
I just realized that is what the "unique" is supposed to do; filter out posts of those already on the page. I'm a little confused as to how to implement the mt:EntrySummary? How would you change this?
<p>Please be sure to read our other articles, including the following: <$MTEntryCategory setvar="entry_category"$> <MTEntries category="$entry_category" glue=", " lastn="3" unique="1"> <a href="<$mt:EntryPermalink$>"><$mt:EntryTitle$></a> </MTEntries>. </p><$MTEntryCategory setvar="entry_category"$>
<MTEntries category="$entry_category" lastn="3" unique="1">
<a href="<$mt:EntryPermalink$>"><$mt:EntryTitle$></a>
<mt:Include module="Entry Summary">
</MTEntries>
This is great, but I am having trouble figuring out how to exclude the current entry from the Entry template. Since is implied on the Entry template, the current entry isn't wrapped in that tag, so the "unique" attribute does not work... it only works when wrapped is used more than once. Any suggestions?
Oops.
Replace unique=1 with offset=1
This is great, but I am having trouble figuring out how to exclude the current entry from the Entry template. Since <mt:Entries> is implied on the Entry template, the current entry isn't wrapped in that tag, so the "unique" attribute does not work... it only works when <mt:Entries> is used more than once. Any suggestions for excluding the current entry within the Entry template? I have a list of the entries one every entry page. Thanks.
Hi, shenews. That does not work... that just removes the most recent entry from the list.
Here's the code in question:
Sorry, I no longer seem to know what you're trying to do.
"excluding the current entry within the Entry template" seems to swear at itself!
:) Thank you for your help.
Here's a page:
page example
This is an entry. There are five entries in the category. The entry page should show large image from the entry, small hover image for the entry, and small images for each of the other four entries in the category.
If anyone can help, I'd appreciate it! I've been struggling for nearly 12 hours now!
In case anyone else runs into this issue, here's what I did to get it to work: