I want to display the related entries for an article. The problem I’m having is that A.) article1, for instance, has article1 displaying as a related article and B.) the same article appears twice as a related article. Now, I only have two dummy articles with 3 tags each. Two out of those 3 tags are the same for the two articles. I thought the other article would be the only displayed related entry, but instead the same article came up as related. I’ve tried to include the inclusive=no parameter, but that didn’t work.
{exp:weblog:entries weblog="articles"}
{title}
{article_author}
{article_text}
{entry_date format="%M %d, %Y"}
{exp:tag:tags entry_id="{entry_id}"}
<a href="http://{path=tags/tag}{websafe_tag}" title="{tag_name}">{tag_name}</a>
{/exp:tag:tags}
Related Articles:
{exp:tag:related_entries entry_id="{entry_id}" dynamic="off" limit="5"}
<a href="http://{path=SITE_INDEX}{page_uri}" title="{title}">{title} _</a>
{/exp:tag:related_entries}
{/exp:weblog:entries}
The last thing is that one article has two related entries, and the other only shows one.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.