roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <snoopd...@gmail.com>
Subject Re: Display tags for each entry
Date Wed, 23 Jan 2008 03:34:40 GMT
On Jan 21, 2008 2:54 PM, Claudio Miranda <claudio@claudius.com.br> wrote:
> I see tag cloud support for roller 4, but I want to display tag names, for
> each entry, so which template shoud I use to print each tag to its
> respective entry.
>
> See how blojsom does that: Tags: java performance
> http://www.claudius.com.br/blog/claudio/2007/11/10/450-GB-de-HEAP
>
> * I started to migrate from blojsom to roller.

Somewhere in your _day template, within the loop that emits your
entries add this:

       Links:
       #foreach($tag in $entry.tags)
           <a href="$url.tag($tag.name)" title="$tag.count">$tag.name</a>
       #end

- Dave

Mime
View raw message