Adding Advertisement Support to Community Server Blog Skins

written by Ryan Olshan on Friday, August 11 2006

You've probably noticed the ads on my blog. By default, Community Server doesn't have built-in ad support in blog skins. You can easily add it by wrapping AdPart controls around the BodyTemplate control in LayoutTemplate.ascx, which is located in the root of each blog skin folder. The default shipping skins for Community Server 2.1 with top and bottom ad support can be downloaded here.

<CS:AdPart runat="server" ContentName="StandardTop">

    <CS:Ads Zone="StandardTop" runat="server" />

</CS:AdPart>

<CS:BodyTemplate id="BodyTemplate" runat="Server" />

<CS:AdPart runat="server" ContentName="StandardBottom">

    <CS:Ads Zone="StandardBottom" runat="server" />

</CS:AdPart>

Kick this post on .NET Kicks

Similar Posts

  1. Community Server 2.1 SP1 Shipping Blog Skins with Ad Support
  2. Tweaking Community Server Out of the Box
  3. Site Upgraded to Community Server 2007

Post a comment