BreakPost when viewed by Category

Feb 16, 2010 at 9:42 AM
Edited Feb 16, 2010 at 9:49 AM

Hi

How do i enable BreakPost when viewed by Category or by Tag? By default, I enabled it when viewed in default post lists.

and when will Post.Serving event fired? Correct me if i'm wrong. Is it, "Before" the post will rendered?

Feb 16, 2010 at 10:19 AM
Edited Feb 16, 2010 at 10:29 AM

ok I have done it.

default.aspx.cs
>DisplayCategories()
> @ line 193, =: PostList1.ContentBy = ServingContentBy.AllContent; // by default: ServingContentBy.Category

in property:
PostViewBase.Location {
   // is
   // PostViewBase.ContentBy = was set by default to ServingContentBy.AllContent?
}

Feb 17, 2010 at 11:36 PM

http://www.jaysonragasa.net/post/BlogEngineNET-e28093-HOWTO-e28093-Use-BreakPost-when-viewing-by-Category-Tag-or-Author.aspx

Coordinator
Feb 17, 2010 at 11:57 PM

Thanks for sharing ... that link is broken right now btw.  Found the post though by just going to your homepage.

Feb 18, 2010 at 12:38 AM
Edited Feb 18, 2010 at 12:45 AM

http://www.jaysonragasa.net/post/BlogEngineNET-HOWTO-Use-Breakpost-when-viewed-by-Category-Tag-or-Author.aspx