from the template guide: The $site model provides access to site-wide data: aggregations of webog entries from all weblogs, comments from all weblogs, lists of users, lists of weblogs, etc. -- in short, everything you need to build an interesting community front page for Roller.
pageModels, i think, is for specific weblog :( On 3/15/08, Steve99 <[EMAIL PROTECTED]> wrote: > > I have just installed 4.0 and it appears to be working (mostly) but I just > do > not understand the difference between these two properties in relation to > templates. > > I have a community blog set to be the aggregated site-wide frontpage. This > blog uses the frontpage theme. > > I have another blog that a user would use. As per a number of posts it took > sometime to figure out that the installed frontpage template was not > actually picking up the $site model. > > I added the following entry into the custom property file and bingo I know > see the blogs from the user blog. !NOTE the SiteModel class added > > rendering.pageModels=\ > org.apache.roller.weblogger.ui.rendering.model.PageModel,\ > org.apache.roller.weblogger.ui.rendering.model.ConfigModel,\ > org.apache.roller.weblogger.ui.rendering.model.UtilitiesModel,\ > org.apache.roller.weblogger.ui.rendering.model.URLModel,\ > org.apache.roller.weblogger.ui.rendering.model.MessageModel,\ > org.apache.roller.weblogger.ui.rendering.model.CalendarModel,\ > org.apache.roller.weblogger.ui.rendering.model.MenuModel,\ > org.apache.roller.weblogger.ui.rendering.model.SiteModel > > If any one could explain to me the differnce between pageModels and > siteModels I would be very grateful as it is not clear at all from the > documentation. > > I also added this to custom property file to see if this would show any > difference. ie No classes defined for this property. Again I still see my > data, great but confused as to what this is used for? > > rendering.siteModels= > > NOTE! I am not using Planet at the moment as I I would like to understand > this first. > > Apoligies to those of you who have read this and think so what, its working. > Well yes it is working but based on how my understanding from the > documentation and what I am actually seeing working does not appear to add > up. > > Also the aggregated site-wide frontpage setting appears to make no > difference as I have tried it both on and off with no apparent difference to > the functioning of the sytem. Maybe I am just being thick? > > Any light you could shed on this would be gratefully received. Thanks. > > -- > View this message in context: > http://www.nabble.com/What-is-the-difference-between-rendering.pageModels-and-rendering.siteModels-tp16069827s12275p16069827.html > Sent from the Roller - User mailing list archive at Nabble.com. > >
