roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dudee <guspers...@gmail.com>
Subject Re: site methods not working
Date Mon, 24 Sep 2007 06:08:15 GMT

Well, if I print out $site I get
"org.apache.roller.weblogger.ui.rendering.model.SiteModel@17a9c0d" so the
model seems to be there but I still can't see any entries. hm...



Dave Johnson-8 wrote:
> 
> On 9/21/07, Dudee <guspersson@gmail.com> wrote:
>> Does anybody know what the problem is?
>>
>> Dudee wrote:
>> >
>> > I can't get the site wide methods to work. I have checked the "Enable
>> > aggregated site-wide frontpage" box. Here's what my code looks like.
>> >
>> > #set ($since =90)
>> > #set ($max =10)
>> > #set($pager = $site.getWeblogEntriesPager($since,$max))
>> > #showWeblogEntriesPager($pager)
>> >
>> > What am I missing?
> 
> I don't see anything obviously wrong. With the default Roller config,
> the site model only works in a blog that is the front-page blog and
> that has aggregated front page turned on.
> 
> Try just putting the word $site in your template somewhere. What do
> you see? If you just see the word $site in the generated output then
> you know the model is not present.
> 
> - Dave
> 
> 

-- 
View this message in context: http://www.nabble.com/site-methods-not-working-tf4485672s12275.html#a12854400
Sent from the Roller - User mailing list archive at Nabble.com.


Mime
View raw message