Hello,

Gavin, I have the css in my styles. Although, I have tested it with adding more and more tags and it seems to be corrected now. Actually the problem was when we have tags count in less number, also as we have applied if condition for count > 5 then intensity in max cases become 5 and all tags see in same sizes. So, from this test I did not see it as a bug and everything is good. Thanks everyone for figuring this out.

Thanks
Gaurav

On Wednesday 11 December 2013 05:54 AM, Gavin McDonald wrote:

-----Original Message-----
From: Gaurav [mailto:gauravsain...@gmail.com]
Sent: Wednesday, 11 December 2013 1:39 AM
To: user@roller.apache.org
Subject: Bug in tag cloud in fauxcoly

Hello,

The tag cloud did not increase the size of text with the intensity of tags
used.

Did you make sure that your stylesheet(s) has the tag cloud classes
mentioned?

/* Tag Cloud */

.s1 {font-size:60%;}
.s2 {font-size:80%;}
.s3 {font-size:100%;}
.s4 {font-size:120%;}
.s5 {font-size:140%;}

for example.

Gav...

Velocity Code (In this the tags which have count > 5 will be shown)

#set($mytags = $model.weblog.getPopularTags(-1, 30)) #foreach ($tag in
$mytags)
      #if ($tag.count > 5)
          <a class="tag s${tag.intensity}" href="$url.tag($tag.name)"
title="$tag.count">$tag.name 3232</a>
      #end
#end

The class used for increasing the tags size are s1,s2,s3,s4,s5. As the tag
intensity is between (1-5) and tag with 1 count has intensity 1 and
similarly
untill 5. Tags with count greater than 5  has intensity 5.
So as the #if condition says tags with count > 5 will be shown, then all
the will
have same class s5 and there will be no difference in font size.

I think, I was able to communicate what I want to explain. Can anyone
please
look into this ?

--
Regards,
*Gaurav Saini*
/Developer, Digital Marketing and Pursuing B.Tech/
/Email: gauravsain...@gmail.com/

Reply via email to