PDA

View Full Version : Google Adsense displaying on top & bottom


p0werm4n
10-17-2006, 10:20 PM
For some reason, the google adsense add displays on the top and bottom, when I want it to only display on top. I placed the adsense code in the header.tpl file, is there anywhere else I should have put it? I'm having this problem on the fire and ice template, and my web site is http://www.igamex.com

{include file="header.tpl"}
<p style="padding-top:14px" align="center"><script type="text/javascript"><!--
google_ad_client = "pub-4078151165826782";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "000000";
google_color_bg = "F0F0F0";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<h1>{$header}</h1>

John Turner
10-18-2006, 04:34 AM
Hi,

Displaying Google adsense in the top and bootom of page is the default setting.

If you want do display it only in the top of page:

1. enable option in 'AdminPanel'->'Financial Configuration'
{Google adsense ENABLE}

2. you need to open your ../template/{YOUR TEMPLATE}/footer.tpl
find and remove following code

<tr>
<td colspan="2" align="center">{$adsense}</td>
</tr>

p0werm4n
10-18-2006, 05:54 AM
Thanks John, you rock :)

John Turner
10-18-2006, 06:23 AM
You are welcome.
Always at your services. ;)