On 9/7/06, Dustman <dustin.cheng@gmail.com> wrote:
>
> I got the front page to work. It seems that the frontpage blog can't
> understant the $site variable.
>
> Simply go to the roller.properties file inside WEB-INF/classes and add this
>
> org.apache.roller.ui.rendering.model.SiteModel to rendering.pageModels
>
> from this
> rendering.pageModels=\
> org.apache.roller.ui.rendering.model.PageModel,\
> org.apache.roller.ui.rendering.model.ConfigModel,\
> org.apache.roller.ui.rendering.model.UtilitiesModel,\
> org.apache.roller.ui.rendering.model.URLModel,\
> org.apache.roller.ui.rendering.model.MessageModel,\
> org.apache.roller.ui.rendering.model.CalendarModel,\
> org.apache.roller.ui.rendering.model.MenuModel
8< snip
You shouldn't have to do that. If you go to the Server Admin page and
look under the field where you set the handle of the front-page blog,
you'll see the option to make the front page blog into a site-wide
aggregation -- if you check that, then the $side model will be
available.
- Dave
|