Archive

Archive for the ‘adsense’ Category

adding Adsense to a Coppermine Photo Gallery

May 10th, 2011 No comments

Edit the file /album/themes/classic/template.html (or /album/themes/your-chosen-theme/template.html)
and between {ADMIN_MENU} and {GALLERY} insert the following table configured with your adsense code of course.
In Adsense choose Adsense banner type 728×90


{ADMIN_MENU}

<table width="100%" border="0" align="center" cellpadding="25" cellspacing="0">
<tr>
<td align="center" valign="top">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-6999999999";
/* above should be your adsense client number of course*/
google_ad_slot = "7771777345";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
{GALLERY}

Categories: adsense Tags: