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 2006/10/03 17:28:33 UTC
Re: A bug in template?
The $site model will only work in a blog that is 1) designated as the
front-page blog and 2) setup to have aggregated feeds. Use the Server
Admin page to set those config properties.
- Dave
On 9/29/06, cn kene <ke...@gmail.com> wrote:
> A bug in template:
>
> #set($pager = $site.getWeblogEntriesPager($since, $maxResults))
> ok!
> #set($myweblog = $site.getWeblog("myblog"))
> #if ($myweblog.name ) weblog: ($myweblog.name ) #end
> ok!
> but:
> #set($pager =
> $site.getWeblogEntriesPager($myweblog,$since, $maxResults))
>
> nothing?????????
>
> who can help me?
>
Re: A bug in template?
Posted by cn kene <ke...@gmail.com>.
I mean the first works well,
but the third do not work well:(
can not get entries of specify weblog!!!
2006/10/3, Dave <sn...@gmail.com>:
> The $site model will only work in a blog that is 1) designated as the
> front-page blog and 2) setup to have aggregated feeds. Use the Server
> Admin page to set those config properties.
>
> - Dave
>
>
> On 9/29/06, cn kene <ke...@gmail.com> wrote:
> > A bug in template:
> >
> > #set($pager = $site.getWeblogEntriesPager($since, $maxResults))
> > ok!
> > #set($myweblog = $site.getWeblog("myblog"))
> > #if ($myweblog.name ) weblog: ($myweblog.name ) #end
> > ok!
> > but:
> > #set($pager =
> > $site.getWeblogEntriesPager($myweblog,$since, $maxResults))
> >
> > nothing?????????
> >
> > who can help me?
> >
>