You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Dave <sn...@gmail.com> on 2008/10/07 16:18:27 UTC

Re: showweblogentrycalendar macro with category

On Mon, Sep 29, 2008 at 6:56 AM, john Moylan <jo...@nuatech.net> wrote:
> I have a weblog with multiple categories. I want each category to have it's
> own calendar. The documentation states that this is possible using the
> #showWeblogEntryCalendar macro using category as the second argument.
>
> I currently have the following:
>
> <div id='hCalendarDiv'>
> #showWeblogEntryCalendar($model.weblog 'nil')
> <div class='clearthis'>&nbsp;</div>
> </div>
>
>
> I have tried replacing nill with $model.weblogEntry.category but this does
> not seem to make any difference.
>
> Can anyone point me in the right direction?


I think you should use $model.weblogEntry.category.name instead. Does
that not work?

- Dave