SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software Kodyaz Development Resources
Development resources, articles, tutorials, code samples and tools and downloads for ASP.Net, SQL Server, R Script, Windows, Windows Phone, AWS, SAP HANA and ABAP, like SAP UI5, Screen Personas, etc.

Software Development

Adding Google AdSense to the top of albums page and photos page in Community Server

Hello all Community Server users and Google publishers,

This post is mostly related for Community Server developers and users since the tips about placing Google Adsense banners is about the file structure and the users controls used within the Community Server.

If you are a Google Adsense publisher and also if you have your site developed on Community Server then you can place or add Google AdSense to the top of albums pages and photos pages in Community Server Photos section if you wish.

This is actually a very simple task but if you are new to Community Server by Telligent Systems then it may be difficult to find which functionality is implemented in which user control or master page in the themes of the Community Server content management system (CMS) software.

For placing Google Adsense banners or advertisements in Photos section for albums and photos pages, go to the Themes then Galleries then select the theme you want to modify. Since I use the default theme sitewide and do not use others I select the default theme. Open the folder titled Skins and find the user control file Skin-GalleryTitleHeader.ascx . Open Skin-GalleryTitleHeader.ascx file for editing. Paste the Google adsense code at the end of the Skin-GalleryTitleHeader.ascx file contents. I have aligned the google adsense ads to the center to have a better view.

If you wish to see a sample photo albums page in the Community Server CMS live with Google Ads you can browse the Microsoft SQL Server 2008 CTP 6 Installation Screenshots photo gallery and photo or image details pages like Ready to Install SQL2008 CTP6 pages.

That's all for adding the Google Adsense ads to the photo galleries.

Published Wednesday, March 19, 2008 9:09 AM
Filed Under: , ,


No Comments
Anonymous comments are disabled

About eralper

SQL Server administrator and T-SQL developer including BI components Web programming with HTML, HTML5 and ASP, ASP.NET and .NET Framework developer SAP ABAP and SAPUI5 development, Web Dynpro and Smart Form Siemens HiPath Center CTI development
Copyright © 2004 - 2020 Eralper YILMAZ. All rights reserved.
Community Server by Telligent Systems