Seemingly random: getting 3 identical entries per tag
Posted: 15 December 2007 12:41 PM   [ Ignore ]
Member
RankRankRank
Total Posts:  55
Joined  2007-12-15

Everytime I search for entries related to a specific tag, I get 3 identical listings for each hit. Here’s an illustration of what I mean:

example of a url: http://www.yoursite.com/index.php/public/tag/energy
(there only is one entry with the tag ‘energy’ so there should only be one entry listed. While that one entry is indeed listed, it’s listed 3 times!
When I search for a tag that two entries share, I get 6 entries listed: 3x entry ‘One’ and 3x entry ‘Two’.

Why 3 times? This seems to random. Does anyone know what’s going on? Thank you!

Btw, this is the code I am using in the tag template:

{exp:tag:entries weblog="articles" inclusive="yes" orderby="entry_date" sort="asc" limit="20"}
{exp
:weblog:entries weblog="articles" orderby="date" sort="desc" limit="15" disable="member_data|trackbacks"}
<h2>{title}</h2>
{summary}
<p>Includes{exp:tag:tags entry_id="{entry_id}" type="weblog" backspace="2" orderby="clicks" sort="desc" limit="10"
<a href="{path=public/tag}{websafe_tag}" title="{tag_name}">{tag}</a>, {/exp:tag:tags}</p>
{/exp:weblog:entries}
{
/exp:tag:entries} 

Profile
 
 
Posted: 15 December 2007 01:33 PM   [ Ignore ]   [ # 1 ]
Member
RankRankRank
Total Posts:  55
Joined  2007-12-15

I solved it. The exp:weblog:entries expression wasn’t meant to be in the exp:tag:entries

Btw, this module is awesome! Many thanks to the developer!

Profile
 
 
Posted: 29 December 2007 01:29 PM   [ Ignore ]   [ # 2 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

The exp:weblog:entries expression wasn’t meant to be in the exp:tag:entries

Nope cheese
Glad you solved it, and thanks for posting the answer smile

 Signature 

Check out the new Solspace Blog!

Profile