Unfortunately, JRoller is still running Roller 2.x, so the Roller 3.0
Template Author Guide will be of no use to you. They were working on
an upgrade a couple of months ago, but I think the effort stalled when
they ran into problems running Roller 3.x on Resin.
- Dave
On 5/1/07, Sanjiv Jivan <[EMAIL PROTECTED]> wrote:
Not sure if my previous mail went to the right mailing list.
---------- Forwarded message ----------
From: Sanjiv Jivan <[EMAIL PROTECTED]>
Date: Apr 30, 2007 8:07 PM
Subject: $url model not being interepreted
To: [EMAIL PROTECTED]
I am trying to build my custom nav list as below however the $url model is
not being interpreted. The other model references like $pageModel and $text
are working fine. I'm on JRoller and I'm not sure what version they're
using.
Any pointers?
Thanks,
Sanjiv
#if( $pageModel.weblogCategory )
<li id="all"><a href="$url.home"><span>$text.get( "
macro.weblog.allcategories" )</span></a></li>
#else
<li id="all" class="current"><a href="$url.home"><span>$text.get( "
macro.weblog.allcategories" )</span></a></li>
#end
#set( $cats = $pageModel.getWeblogCategories($parentCategory) )
#foreach( $cat in $cats )
#if( $pageModel.weblogCategory.path == $cat.path )
<li class="current" id="$cat.id"><a
href="$url.category($cat.path)"><span>$cat.name</span></a></li>
#else
<li id="$cat.id"><a
href="$url.category($cat.path)"><span>$cat.name</span></a></li>
#end
#end