Rick Reszler

Possibilities are endless....
  • rss
  • Home
  • Photos
  • Contact

Display Specific Blog or Blog Group Posts

Rick Reszler 11/29/2006 6:26:00 PM

This how you can display the most recent blog posts from a specific blog or blog group on your Community Server home page.

Open up the default.aspx file in the root (home page) and in this section just add the desired blog (SectionID="") or group (GroupID="")

In this example I am using a specific group also notice the PageSize="4" this is to limit how many posts show at once on the home page.

To determine what the ID value is for a blog or a blog group just go to the CS Control Panel > Administration > Blogs and to either Blogs or Blog Groups in the Grid View just hover the mouse over the group or blog and look at the bottom of the browser for the ID in the status bar. 

<Blog:AggregatePostList runat="Server" PageSize="4" id="AggregateBlogPosts" EnablePaging="false" EnableTitle="false" GroupID="7">
                    <SkinTemplate>
                        <h2 class="CommonTitle">
                            <asp:Literal runat="server" id="title" />
                        </h2>
                        <Blog:AggregateList id="Posts" runat="Server" EnableTitle="false"/>
                    </SkinTemplate>
                </Blog:AggregatePostList>

I have also done an article on adding back the front page news to your Community Server2.1 sites here.

Comments
2 Comments
Tags
community-server, csmvps

2 responses.

cheeseflavor avatar

cheeseflavor says:

11.30.2006 at 3:32 PM

Rick,

A while back, I posted to CS.ORG forums about the ability to show multiple blogs in the aggregate and have them sort by blog. Would this possibly work for that?

Steve

 avatar

says:

11.30.2006 at 8:00 PM

Steve yes that is what it's for, let me know if you need any help?

  • Popular Posts

    • Rob Howard sets the record straight on Graffiti-vs-WordPress
    • Graffiti Themes
    • One Year Anniversary Telligent FTE
    • Retired Apache for Blackberry Pearl
    • Graffiti CMS 1.0 Released
  • Categories

    • GraffitiCMS
    • Personal
    • Technology
    • Wizards Space
  • Infrastructure

    IIS7 & SQL2008

    This site is monitored by www.montastic.com
Powered by Graffiti CMS
  • design by jide
  • Theme converted to GraffitiCMS by Adonis Bitar