We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Tag Module Related Entries Problem

Development and Programming

endurant's avatar
endurant
13 posts
17 years ago
endurant's avatar endurant

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.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
17 years ago
Lisa Wess's avatar Lisa Wess

As this is a third-party module, I’ve moved it down to the Modules forum - I’d recommend, also, posting over at solspace.com/forums for direct support.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.