CS Nuggets

This blog is for addons, bugs, fixes, and issues pertaining to Community Server.

CS2007: BUG & FIX: Aggregate Post Excerpt Size

There appears to be a bug with Control Panel / Administration / Blogs / Default Presentation / Aggregate Post Excerpt Size.  While you can set this value, it does not appear that it is actually being used.  It should limit the size of excerpts in aggregate lists, but it isn't.  The following one line change requires access to the SDK:

File: CommunityServerBogs20/Components/WeblogPost.cs:

At or around line 267, change the following line:

get{return GetInt("ExcerptSize",250);}

to

get{return GetInt("ExcerptSize",WeblogConfiguration.Instance().AggregatePostSize);}

Posted: Sun, Apr 29 2007 07:26 PM by Bill Bosacker | with no comments
Filed under: ,
Leave a Comment

(required) 

(required) 

(optional)

(required)