October 30, 2006

Community Server Mod: Aggregate Blog List in Sidebar

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 {
     
   }
}

 

Comments,

  • Trackbacks,
  • and Pingbacks
  1.  avatar Scott Wilson says:

    Awesome module dude!  This will be really helpful :-)

Comments are closed.

 

Trackbacks and Pingbacks


  1. news of the day a grab bag for what's happening in Community Server This is Rick Reszler's first day

  2. And more importantly it has been deployed on this site already. You can find various editions of Service

  3. When Telligent's Dan Hounshell promises to write a mod for someone on a Community Server Forums thread,

  4. When Telligent's Dan Hounshell promises to write a mod for someone on a Community Server Forums thread,

Shortcuts

Where is Dan?


My Blog
My Blog
Twitter
Twitter
Facebook
Facebook
LinkedIn
LinkedIn
Flickr
Flickr
YouTube
YouTube
Delicious
Delicious
Foursquare
Foursquare
Pinterest
Pinterest
GetGlue
GetGlue
Pintley
Pintley
XBOX Live
XBOX Live
Last.fm
Last.fm
Windows Live
Windows Live
Telligent.com
Telligent
Graffiti CMS on CodePlex
Graffiti CMS
Popular

Recent Posts