TinyPortal

Development => Block Codes => Topic started by: yj98 on November 10, 2006, 10:37:28 AM

Title: add google ads at right side of menu
Post by: yj98 on November 10, 2006, 10:37:28 AM
index.template.php

search:
<td class="maintab_' , $last , '">&nbsp;</td>

add :
<td><div style="position:relative;left:10px;">
<script type="text/javascript"><!--
google_ad_client = "pub-2972203031917077";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = "468x15_0ads_al_s";
google_ad_channel = "";
google_color_border = "6081a0";
google_color_bg = "E5E6E8";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "000000";

//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
</td>


that all . dont shame . I'm roker   :P

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.szno.com%2Fforum%2Findex.php%3Faction%3Ddlattach%3Btopic%3D32.0%3Battach%3D16%3Bimage&hash=5d3152df053084144926f1f146bb5dc52ed28aa3)
Title: Re: add google ads at right side of menu
Post by: -TMG- on November 10, 2006, 10:46:50 AM
isnt it easier to copy the code generated by google in a script box???

so did i and dont have any probs...

or am i in the wrong track?
Title: Re: add google ads at right side of menu
Post by: yj98 on November 10, 2006, 11:11:41 AM
No . it not used in TP block. just modify theme "index.template.php"