广告联盟网

 找回密码
 注册
查看: 567|回复: 2
打印 上一主题 下一主题

如果我想在z-blog的模版里加广告是要放在哪呢

[复制链接]
跳转到指定楼层
1#
发表于 2006-8-30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
大家知道吗

就是在文章里放广告,类似环绕那种

大家有用这个程序的告诉我一下
2#
发表于 2006-9-1 | 只看该作者
今天终于把adsense的广告也加上了,在这里顺便把adsense的广告添加方法也详细说下。

Z-Blog加入Google Adsense的说明

在右侧(或左侧)添加垂直条:

如果你要在每一个单页日志里加入Google Adsense,就打开TEMPLATE目录下的single.html文件,在

<div id=&quot;divSidebar&quot;>

<div class=&quot;function&quot; id=&quot;divCalendar&quot;>
<h3><#ZC_MSG050#></h3>
<script language=&quot;JavaScript&quot; src=&quot;<#ZC_BLOG_HOST#>c_html_js.asp?include=calendar&quot; type=&quot;text/javascript&quot;></script>
</div>

的后面加上

<div class=&quot;function&quot;>
<ul>
<li style=&quot;background:none;padding:0 0 0 15px;&quot;>
<script type=&quot;text/javascript&quot;><!--
google_ad_client = &quot;************************&quot;;
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = &quot;160x600_as&quot;;
google_ad_channel =&quot;&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;0000FF&quot;;
google_color_url = &quot;008000&quot;;
google_color_text = &quot;000000&quot;;
//--></script>
<script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;>
</script>
</li>
</ul>
</div>


把中间的script部分换成你得到的代码就可以了。

如果你要在首页日志里加入Google Adsense,就打开TEMPLATE目录下的default.html文件,在

<div class=&quot;function&quot; id=&quot;divCatalog&quot;>
<h3><#ZC_MSG026#></h3>
<ul>
<#CACHE_INCLUDE_CATALOG#>
</ul>
</div>

目录分类后面加上上面的代码或者在右侧最后

</div>
  <div id=&quot;divBottom&quot;>
前面加也可以。
3#
发表于 2006-9-1 | 只看该作者
在文章里放修改b_artile_single模板文件,在里面放。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|广告联盟网  

GMT, 2024-9-28 , Processed in 0.057621 second(s), 22 queries .

Powered by Discuz! X3.2

© 2005-2021 www.ggads.com GGADS 广告联盟网

快速回复 返回顶部 返回列表