I am fairly new to BlogEngine.NET (BE) but so far it seems pretty decent. I think the documentation is somewhat lacking, however, and there is one particular thing about creating a custom theme that has me stuck.
Just so there's no confusion below, by default web page, I mean the site's landing page, or "home" page -- the page that gets served up when the URL specifies just the domain name, like "http://www.dotnetblogengine.net/"
Out of the box, when the default web page is requested, BE calls your theme's PAGEVIEW.ASCX file in a loop to get the excerpt for each of the last "posts per page" posts, and then this information is inserted into the ASP:ContentPlaceHolder with
the id of cphBody on your master page.
For an individual post or a page, BE grabs the matching and inserts it into the
However, if you create a page and select the option for "Is Front Page?" then when the default page is requested, BE will grab the content of the designated "front page" and use it instead.
My question is... once you've done that, how do you get the post list? I've got the feeling it has something to do with adding a user control for the post list to my page, so I tried this:
[usercontrol: ~/User controls/PostList.ascx ]
When I add that to my page content, nothing is output. I know it's loading the control OK because changing the name gives an error. Does it need parameters, or should I be doing something else altogether?
(Oh, and happy holidays too!)