Adding Advertisement Support to Community Server Blog Skins
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>
Similar Posts
- Community Server 2.1 SP1 Shipping Blog Skins with Ad Support
- Tweaking Community Server Out of the Box
- Site Upgraded to Community Server 2007




