in

Platinum Bay

Peace, Love and Visual Studio Team System

.NETicated

Hacking Community Server: Remove Group List

I only have one blog on my site, so I felt there was no need to display the blog Groups list on the main blog page. It's simple enough to take out.

Open up the Themes/[theme]/Blogs/blogs.Master file, and comment out the CSBlog:GroupList control, as shown below:

<%--<CSBlog:GroupList runat="server">
    <QueryOverrides GroupID="-1" />
    <LeaderTemplate>
        <div class="CommonSidebarArea">
            <div class="CommonSidebarRoundTop"><div class="r1"></div><div class="r2"></div><div class="r3"></div><div class="r4"></div></div>
            <div class="CommonSidebarInnerArea">
                <CSControl:ResourceControl ResourceName="Groups" Tag="H4" CssClass="CommonSidebarHeader" runat="server" />
                <div class="CommonSidebarContent">
    </LeaderTemplate>
    <HeaderTemplate><ul class="CommonSidebarList"></HeaderTemplate>
    <ItemTemplate><CSBlog:GroupData LinkTo="GroupHome" Property="Name" runat="server" Tag="Li" /></ItemTemplate>
    <FooterTemplate></ul></FooterTemplate>
    <TrailerTemplate>
                </div>
                <CSControl:SiteUrl UrlName="webloghome" ResourceName="ViewAllGroups" Tag="Div" CssClass="CommonSidebarFooter" runat="server" />
            </div>
            <div class="CommonSidebarRoundBottom"><div class="r1"></div><div class="r2"></div><div class="r3"></div><div class="r4"></div></div>
        </div>
    </TrailerTemplate>
</CSBlog:GroupList>--
%>

If you also want to remove the "Blogs on this Site" link, comment out the control about 8 lines above the previous section, as follows:

 

<%--<CSControl:SiteUrl ResourceName="Bloggers" UrlName="blog_aggregate_Bloggers_default" Tag="Li" runat="server" />--%>

That's it. I wish they were a setting in the admin, though.

Comments

No Comments

Leave a Comment

(required )  
(optional )
(required )  
Add

About Steve

Steve Andrews has been working as a developer for more than 8 years. During this time, he has designed and developed applications in such widely varying areas as trust accounting, medical information management, supply chain management, and retail systems. He has firsthand developer experience with a variety of languages, including Java, VB, and .NET. Most recently, he has been immersed in SharePoint. He is currently employed at RDA Corporation in Philadelphia, PA, as a Software Engineer and a team member in the Architectural Guidance evangelism team. Steve is also an MTCS (x2), ICSOO, and .NET fanatic.
Powered by Community Server (Commercial Edition), by Telligent Systems
© Platinum Bay | Some Rights Reserved Creative Commons License

Disclaimer: The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Feel free to challenge me, disagree with me, or tell me I'm completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever (abusive, profane, rude, or annonymous comments) - so keep it polite, please.