Overiding the BlogEngine.Core.Page Class

Topics: Business Logic Layer
Apr 19, 2011 at 4:21 PM

I've just started to use BE2 as it's advertised as an extensible framework to build on. I have an issue at the moment in that i want to extend the BlogEngine.Core.Page class to contain more properties, namely "Order", so that i can specify a different way to display the pages in the sidebar. My issue is that the Page class is sealed, preventing me from extending the class as i'd like to.

Is there a reason that this is coded in this way? Or can some one suggest a way that I can extend it without having to recode the areas that use BlogEngine.Core.Page.

Thanks

Apr 19, 2011 at 7:42 PM
Edited Oct 24, 2011 at 8:28 PM

You have to use the Page core.

 

I already change this in my fork :  http://blogengine.codeplex.com/SourceControl/network/Forks/kbdavis07/PageLinkMenu2point0

 

No point in reinventing the wheel :)

 

http://www.kbdavis07.bloggersonline.com/post/PageLinkMenu.aspx


Java Blog

Apr 20, 2011 at 2:24 PM

Hi kbdavis07,

that's just what i was looking for - Cheers

Apr 20, 2011 at 11:58 PM

Glad I can help :)

 

Working on updating it for the latest version of BE  but going to take some time

 

I am very busy right now with little time.

 

If you have any questions or feedback please let me know.