On Sun, Mar 23, 2008 at 5:27 PM, raúl fuenzalida <[EMAIL PROTECTED]> wrote: > to link the category name of an entry, i've done this: > #set ($catt = "category/") > <a href="$url.home$catt$entry.category.name">$entry.category.name</a> > > is there other way to link the category name of an entry? > something like: > <a href="$entry.category.url">$entry.category.name</a>
It's much better to use the URL model rather than form your own URLs So, I think this is what you need: <a href="$url.category($entry.category.path)">$entry.category.name</a> See the template guide for details. - Dave
