Hello,
I tried using the frontpage theme of roller, but it seems like this
theme has some issue as It did not show up any data (no blogs, hottags,
hot blogs etc.)
But when I tried searching in the search of that theme, then it shows
the blogs. I am looking into this, just want to know Is
Hello,
I am still not able to populate the results in frontpage theme. The
condition I see in this theme is different from other is this
[#foreach($pinnedEntry in $pinnedEntries)]. Can any one explain me what
is pinnedEntry here ? As in that theme we still use #foreach($entry in
$entries)
Hi Guarav,
The front-page theme is designed to be used on the weblog that is
designated to be the front-page blog of a Roller site. See the
Server-Admin - Configuration page and the Weblog to serve as frontpage
blog option. You must also turn on the Enable aggregated site-wide
frontpage option.
Gaurav,
following through the logic:
#set($pinnedEntries = $site.getPinnedWeblogEntries(5))
#foreach($pinnedEntry in $pinnedEntries)
$site == org.apache.roller.weblogger.ui.rendering.model.SiteModel
So if you check getPinnedWeblogEntries(..) of SiteModel:
/**
* Get pinned entries.
Thanks a lot Greg, It really cleared me about the work flow of roller
and how we get the results from database. I was really struggling
understanding the roller flow, day by day I am becoming more familiar to
the structure of roller.
One thing I was having problem today was understanding the