BreakPost when viewed by Category

Feb 16, 2010 at 10:42 AM
Edited Feb 16, 2010 at 10: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 11:19 AM
Edited Feb 16, 2010 at 11: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 18, 2010 at 12:36 AM

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

Coordinator
Feb 18, 2010 at 12:57 AM

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

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

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