You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Crick Opinion <cr...@yahoo.com> on 2008/07/05 23:18:28 UTC

Tag Cloud

Hi Gurus,

I have been trying to add tag clouds to my site at http://www.CrickOpinion.com. I have copied the code from Template guide as below
            #set($mytags = $model.weblog.getPopularTags(-1, 30))
            <ul>
               #foreach($tag in $mytags)
                   <li><a class="tags ${tag.intensity}" href="$url.tag($tag.name)" title="$tag.count"> $tag.name </a>
               #end
               <br>
            </ul>

But it still doesn't generate the cloud. Any suggestions on hot achieve it.

Thanx,
-Cricko