Just don’t get it
Posted: 01 January 2008 08:42 PM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2008-01-01

I’m trying to get tags working and I’m clearly missing something.

On my posts, I have this code to list the tags associated with a post:

<class="tags">Tags{exp:tag:tags entry_id="{entry_id}" type="weblog" backspace="2"}<a href="{path="library/tags"}" title="{tag_name}">{tag}</a>, {/exp:tag:tags} </p>

That displays them correctly.

My tags template then has this:

{exp:tag:entries weblog="library" orderby="entry_date"}

 
<h5>On &ldquo;{tag}&rdquo;</h5>
 
 
 <
class="date">{entry_date format="%d %M %Y"}</p>
 <
h1><a href="{path="site_index" title="{title}">{title}</a></h1>
 <p class="
tag">{summary}</p>
 

{/exp:tag:entries}

But that displays nothing. What am I doing wrong here?

Profile
 
 
Posted: 01 January 2008 11:02 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  701
Joined  2004-03-30

You need to use the “marker” param in the exp:tag:entries function. Have a look at the docs on that parameter. You basically need to tell the Tag module what URL segment preceeds a tag provided in a URL.

mk

 Signature 

Mitchell Kimbrough

Profile