The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Community Server Homepage Controls

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Brendan Tompkins

Posts: 158
Nickname: brendant
Registered: Apr, 2005

Brendan Tompkins is .NET Developer and founder of CodeBetter.Com
Community Server Homepage Controls Posted: Jun 15, 2005 10:18 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Brendan Tompkins.
Original Post: Community Server Homepage Controls
Feed Title: Brendan Tompkins
Feed URL: /error.htm?aspxerrorpath=/blogs/brendan.tompkins/Rss.aspx
Feed Description: Blog First. Ask Questions Later.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Brendan Tompkins
Latest Posts From Brendan Tompkins

Advertisement

If you read us through our website, you’ve probably noticed that we launched our new homepage yesterday. Community Server didn’t have exactly the controls I needed to create the new homepage, so I had to create new controls that did what I wanted.  Fortunately, CS did gave me the building blocks I needed to quickly assemble the new page.  I wanted to post here the source files, in case anyone wants to create a similar page with Community Server. I created three new controls.  Here’s what they look like on the home page.

Control 1:   FeaturedArticle
Purpose: This control shows one featured article, along with the excerpt and the author’s avatar.
Files Needed : FeaturedArticle.cs, Skin-FeaturedArticle.ascx

Control 2:   AggregateCompactPostList
Purpose: Shows a configurable number of latest and most popular posts.
Files Needed : AggregateCompactPostList.cs, Skin-AggregateCompactPostList.ascx, AggregatePostList.cs, AggregatePostList.ascx

Control 3:   AggregateCompactArticleList
Purpose: Displays an article’s category title, excerpt, and published articles.
Files Needed : AggregateCompactArticleList.cs, Skin-AggregateCompactArticleList.ascx, AggregatePostList.cs, AggregatePostList.ascx

You’ll also need some css styles added to CommunityServer’s style sheet (via default.aspx in the Themes/default/style directory)

All CS files go in the CommunityServerBlogs project in the Controls/AggregateBlogControls directory, and all ascx files go in the CommunityServerWeb/Themes/Skins/Blogs directory.

You can download the source files here.  Shoot me an email if you need help implementing this, or if I left anything out.

-Brendan

Read: Community Server Homepage Controls

Topic: Autoconfig in Processmodel Previous Topic   Next Topic Topic: Very successful SOA/Indigo Talk Tonight

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use