 |
Forums |
Admin Start New Thread
By: Daniel Berger
RE: Adsense question [ reply ] 2008-03-06 13:10
|
Hm, something's not right. Here's a snippet from my layouts/base.rhtml:
<%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %>
<div id="sidebar">
<%= yield :sidebar %>
<script type="text/javascript"><!--
google_ad_client = "pub-1478998134459124";
/* 120x240, sapphire, vertical */
google_ad_slot = "4074766605";
google_ad_width = 120;
google_ad_height = 240;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
But, if you visit sapphire-lang.org, nothing shows up. What am I doing wrong?
Thanks,
Dan
|
By: Daniel Berger
Adsense question [ reply ] 2008-03-05 10:31
|
Hi,
What file did you modify for Adsense on redmine.org? I have Adsense on my home page now (http://www.sapphire-lang.org), but I'd prefer to put it on the right side as you've done, instead of on the top as I have it now.
I'm guessing you've modified base.rhtml, but I'm not sure how you layed it out exactly. Can you share?
Thanks,
Dan
|
|
 |