in

Platinum Bay

Peace, Love, and...

This Blog

Syndication


.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 is an independent consultant, INETA speaker, and Microsoft MVP for Visual Studio ALM. He has been working in technology for over ten years focusing on custom application development and Application Lifecycle Management. Steve is also Microsoft and IBM certified and a community fanatic having led sessions at nearly 100 events across North America. When he's not developing software solutions or engaging with the community about software technology, Steve is a closet singer and songwriter and plays the guitar and keys. Occasionally, Steve even gets to sleep. Occasionally.
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.