Limiting tags to current category
Posted: 20 November 2007 12:48 PM   [ Ignore ]
Jr. Member
RankRank
Total Posts:  37
Joined  2006-12-07

On a category page, how do you limit the tags displayed to those that have entries in the current category?

If you use a fixed category like this:

{exp:tag:cloud weblog=“community” category=‘7’ limit=“20”}
{tag}
{/exp:tag:cloud

That works fine. But the idea is to dynamically detect the current category and set the category to that.

Thanks….

Profile
 
 
Posted: 20 November 2007 01:32 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

You’d almost think the Category heading tag would work within that parameter:

{exp:weblog:category_heading}{category_id}{/exp:weblog:category_heading} 

Well, I’ll submit this as a feature request smile

 Signature 

Check out the new Solspace Blog!

Profile