Sure, you can populate the page with whatever you want.

I would check out the PageModel and SiteModel classes and look at the methods those provide. Those both provide a handful of ways to get collections of entries that you could use to display on your frontpage.

Alternatively, the rendering process is very pluggable, so you can create your own model classes if you want and those classes can contain access to anything at all. You could use them to pull data from Roller that isn't usually exposed, you could pull data from custom tables in your database if you need to, or you could pull data from web services or anywhere else you want.

-- Allen


Matthew P. Schmidt wrote:
Hi guys. At JRoller we had a custom frontpage data model that fetched only the entries in a certain set of categories. This was a hack and required us to override too much code. Is there a cleaner way for us to replace the entry list coming to the frontpage theme (we're building a new one anyway)?
Thanks,
Matt

Reply via email to