An innovative open source blogging platform developed with ASP.NET 2.0.

BlogEngine.NET Project

Updated page model

clock August 7, 2007 16:34 by author Team

For the next release of BlogEngine.NET we have created a much richer experience with the pages. In the 1.1 release a page was just a static entity that could be used for an “About me” page, that didn’t follow the chronology of the posts but lived on the sideline. That’s the basic idea of having pages supported by BlogEngine.NET.

Power to the pages

We wanted to give more power to the pages, so they could have a more central part of the blog. Normally you would have a multi layered menu for navigation – one with submenus based on the page hierarchy. To make this work we added a way to build a page hierarchy by selecting each page’s parent page, thus creating a tree structure. For the menu we are going to support the build-in ASP.NET menu control by creating a site map provider. So, now you can create real nested menus for your pages.

Then we thought that we could take it one step further. What about letting a page be the front-page of the blog instead of the post list? This would basically mean that you could build an entire website using BlogEngine.NET without using its blogging capabilities. To make it happen, there is now a checkbox that determines if a given page should be the front-page of the blog.

How to use the updated model

That means that in the admin section where you create and modify pages, there now is a dropdown list and a checkbox that wasn’t there in the 1.1 release. That is the only difference from the author’s perspective.

Theme designers can use these features to create something really powerful using the build-in ASP.NET controls such as the menu, bread crumb and treeview controls. These three controls automatically hook into the BlogEngine site map provider and display the pages automatically.

This is something the community has asked for occasionally since the first release, so it was about time we got a look at it. We really hope this is something you will find useful. Hopefully we can have a theme based on the new page model available soon so you can see how to take advantage of it. If you can't wait then go get the latest source code at CodePlex.

Categories:
Actions: E-mail | Permalink | Comment Comments (9) | RSS comment feedComment RSS

Comments

August 8. 2007 09:24

Ruchit S


Perfect,

This is exactly what I was supposed to post as a request on CodePlex. I just needed it and here it is..

Keep doing the gr8 job.

Thanks.


Ruchit S.
http://ruchitsurati.net

*******************************************************************

Ruchit S

August 8. 2007 22:48

knipjo

Hello,
Very nice. But it is me or does the file you decide to decide to show as a front page does not get the default.aspx page name. it keeps its original name. Is there a possibility to exchange the name of the front page with default.aspx? Or at least as an option ? Smile
Thanks.

knipjo

August 8. 2007 23:00

Mads Kristensen

Hi Knipjo. The ideal scenario would be to use default.aspx, but there is a catch. If we do that, then both the front-page and the default post list would have the same location (URL). That would not be very smart from a SEO point of view. We use the referrer to determine whether or not to redirect to the front-page from the default.aspx

Mads Kristensen

August 9. 2007 01:33

Scott

Any thoughts on when the source or binaries with these changes will be available for download.  This sounds exactly like what I need, but I don't really want to download all the change sets individually to take a peek at it.

Thanks much.

Scott

Scott

August 9. 2007 06:41

Mads Kristensen

We plan on releasing 1.2 in september, but we don't know when in September yet.

Mads Kristensen

August 9. 2007 07:58

alex

that's great! keep going !

alex

August 9. 2007 11:48

Scott

Thanks for the info.

Scott

August 28. 2007 13:17

Hank Lynch

Very nice.  We needed something like this to be done.

Hank Lynch

September 7. 2007 14:18

Fred

test

Fred

Comments are closed

Sponsor
DiscountASP.NET – BlogEngine.NET Hosting

ImageWhy use BlogEngine.NET?
BlogEngine.NET is a full featured blogging platform that is a breeze to setup, customize, and use. A small download and easy to follow instructions get you up and running in minutes. Pick one of our elegant default themes or make your own theme. Extend the functionality by creating your own custom control or add some of the many built into the system. Read more.