TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 17, 2024, 12:25:04 PM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 59
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 56
  • Total: 56

add google ads at right side of menu

Started by yj98, November 10, 2006, 10:37:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yj98

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


-TMG-

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?

yj98

No . it not used in TP block. just modify theme "index.template.php"