On 1/2/07, Bryan <[EMAIL PROTECTED]> wrote:
Thanks for ur reply Dave.
Actually, I've already did that before I met this problem. And the enties
did presented in the frontpage(via default Weblog.vm).
And the question is when I made a new page(a .vm file in frontpage theme
folder) for my own customized page. The code does not work. This has
confused me a long period of time.
I don't understand what you mean by "when I made a new page(a .vm file
in frontpage theme folder) for my own customized page. The code does
not work."
But, I'll take a guess...
If you want to add a new page to your front-page BLOG, you should be
using the Roller web UI to add a new page on the
Preferences->Templates page.
There's no need to add a new .vm file to the front-page THEME unless
you are creating an enhanced version of that theme for use in other
Roller systems.
- Dave
On 12/27/06, Dave <[EMAIL PROTECTED]> wrote:
>
> I'm not totally sure what the problem is but I'll make a guess.
>
> If you expect to get blog entries from other blogs (on your site) to
> appear in the front-page blog, you'll have to enable "Enable
> aggregated frontpage feeds" on in the Server Admin page.
>
> - Dave
>
>
> On 12/25/06, xu biyun <[EMAIL PROTECTED]> wrote:
> > I have made a aggregated frontpage weblog, and already:
> > 1.created a category named "news" in frontpage weblog
> > 2.put some entries in "news" category
> > but when I try to show entries in news cat onto frontpage, nothing
> happend!
> >
> > here's some code I've tried:
> > Case 1:
> > #set($pager = $model.getWeblogEntriesPager("news"))
> > #showWeblogEntriesPager($pager)
> >
> > Case 2:
> > #set($pager = $site.getWeblogEntriesPager($model.weblog, 20,
> $maxResults))
> > #showWeblogEntriesPager($pager)
> >
> > And, I have searched into old post here, another guy also mentioned that
> > it's a bug when use codes in case 2, I have no idea about this.
> > Anybody help?
> > thanks in advance Diego
> >
> >
>