CS Nuglet: The Return of the Home Page Content Part

One of the best features of Community Server of Olden Times was the home page Content Part. You might’ve been clueless about Community Server, but when you loaded up your new community site for the first time and logged in as “admin,” it was immediately apparent that you could double-click on the home page and begin the process of making your community site your own.  That’s a big deal, or at least it was, and it served as a powerful introductory metaphor to Community Server.

What happened to that home page content part of double-click empowerment?  Click on “Control Panel,” then “Site Administration”, then “Site Theme”, then “Update your Welcome Message.”  When you’re finished editing, click the “Save” button.  Okay, we’re almost done.  At this point click on the “Go to Site” link in the upper right-hand corner of the page which will return you to the home page where you can view your changes.  If your updates aren’t exactly right, lather, rinse and repeat.

New Community Server users might not know about the humble ContentPart Control, but it’s still around and it still rocks.  For more info on the Community Server ContentPart Control, see this May 2006 Nuglet.

No one asked me, but I think the new home page content management process is laboriously idiotic. The good news is that it’s a snap to return to the Old World of double-click, edit and save by substituting the CS2008.5 SiteThemeConfigurationData welcomeMessage control for an old fashioned ContentPart Control.

To return to double-click bliss, remove the contents of the <FalseContentTemplate /> area under the “bcr” Content area. Search for “bcr”, then jump to the “FalseContentTemplate” area.

 

Replace the FalseContent Template area with the following.

 

Go ahead! Add a home page content part and double-click like it’s 2006!

Article written by

A long time developer, I was an early adopter of Linux in the mid-90's for a few years until I entered corporate environments and worked with Microsoft technologies like ASP, then .NET. In 2008 I released Sueetie, an Online Community Platform built in .NET. In late 2012 I returned to my Linux roots and locked in on Java development. Much of my work is available on GitHub.