Hello, I’ve just installed the Tag Module and I a bit confused with the tags cloud.
<a href="/tag/tagname" title="35 entries">tag</a>
I though I could use the {count} variable, though it is not working to me, it renders 1 for all my tags and that’s not true.
What is eactly group parameter function? The Solspace documentation is not very descriptive.
I can control the font size with the start+step variables. I’ve seen other blogging tools use also color intensity to show the ranking tag. They are much darker as much popular. Does anybody has a code to calculate the color intensity depending on the popularity rate?
Thank you very much.
Dolmance,
We’re working on a new version of the Tag module and will double check the count variable of the tag cloud function.
The groups parameter helps the cloud function establish how to rank the individual tags that show in the cloud. The cloud is composed of the highest ranking tags up to the limit you provide. Within that batch, the groups parameter establishes into how many ranking groups to separate the resulting set of tags. This allows you to control how much variation in size or color or whatever your visual method is between each tag. Personally, I don’t want a cloud where every tag can be of a different size from every other. I like to make it a bit more homogenized. I want the high ranking tags to really pop out and the remaining tags to sort of group themselves into sizes. If you want t truly granular tag, where every tag shows its rank by size or color, the set the limit and groups parameters to be the same number.
You’ll want to achieve the color effect by setting up separate CSS styles for each of the colors that can be shown. You’ll append to these style names an integer. So you might have a css style for tags of size 10 like a.tagcolor10 {color: dark-blue;} and in your code you might have <a href=”blah” class=”tagcolor{step}”>
mk
Hello again, the color styles tip has been very useful.
One question more. I’m doing the multiple entries tag template and I don’t know how to get the global tag title. For example:
www.yourdomain.com/tag/computers/
That template would show all the entries using the tag “computers”, but how to write on the html title the tag name “Computer”? I mean:
<title>Computers - Yourdomain.com</title>
Thank you.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.