all posts

Community Server Mod Aggregate Blog List in Sidebar

Published to Blog on 30 Oct 2006

Friday I answered a question in the forums on CommunityServer.org about adding an blog list in the sidebar. I had done this before to this site on previous versions of CS.  I had not taken the time to do it yet, so for maybe the first time in my life it thought, “No better time than the present!“.

My answer involved making some code changes to the core. After thinking about it some more I realized I would either have to find a way to do the same thing without the code changes or I would have to write an external control to drop in for those who would rather not muck around in the code.

After spending a bit of time trying to get AggregateBlogList to display using a different skin I ended up just creating a new control (a server control) that inherits from Aggregate Blog List named AggregateBlogListSidebar, which then by default uses a skin named Skin-AggregateBlogListSidebar.

You can see the results here

So, grab the code from here. Drop the dll in your bin folder. Add the Skin-AggregateBlogListSidebar skin and then update your Skin-AggregateColumn file to make use of the new control. (more detailed instructions are included in the ReadMe in the zip)

If you’d prefer to alter your code or create your own control rather than use my dll then it really is as simple as this:

using CommunityServer.Blogs.Controls;

namespace DanHounshell.CS.Controls {
   public class AggregateBlogListSidebar : AggregateBlogList {
     
   }
}

Dan Hounshell
Web geek, nerd, amateur maker. Likes: apis, node, motorcycles, sports, chickens, watches, food, Nashville, Savannah, Cincinnati and family.
Dan Hounshell on Twitter


  • On 30 Oct 2006 "Community Server Daily News"" said:
    news of the day a grab bag for what's happening in Community Server This is Rick Reszler's first day
  • On 30 Oct 2006 "Scott Wilson"" said:
    Awesome module dude! This will be really helpful -)
  • On 30 Oct 2006 "UltraTech Zone Announcements"" said:
    And more importantly it has been deployed on this site already. You can find various editions of Service
  • On 22 Nov 2006 "Daily News Faq List"" said:
    When Telligent's Dan Hounshell promises to write a mod for someone on a Community Server Forums thread,
  • On 12 Mar 2007 "Community Server Bits"" said:
    When Telligent's Dan Hounshell promises to write a mod for someone on a Community Server Forums thread,