Re: Bug in tag cloud in fauxcoly

Gaurav <[email protected]>
Newsgroups gmane.comp.java.roller.user
Message-ID <[email protected]>
Hello Glen,

I looked into user guide at 
https://svn.apache.org/repos/asf/roller/trunk/docs/roller-user-guide.odt
This user guide did not have Section 7.7. If I am mistaken Can you 
please provide me correct url to the latest doc

Thanks
Gaurav


On Tuesday 10 December 2013 08:47 PM, Glen Mazza wrote:
> I haven't looked into tag clouds yet. How to build them is described 
> in Section 7.7 of the latest (5.1.0-SNAPSHOT) Roller guide.  If 
> there's a bug in the template (or the guide), please enter a JIRA for 
> it, and if you can supply a patch to fix it that would be great.
>
> Thanks,
> Glen
>
> On 12/10/2013 09:39 AM, Gaurav wrote:
>> Hello,
>>
>> The tag cloud did not increase the size of text with the intensity of 
>> tags used.
>>
>> 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: [email protected]/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.