Where do I modify the PHP so I can show Adsense ads, for example a banner across the top of each page, or a box ad at the upper right or something?
I've already hacked it so I can show Adsense in the Toolbox in the left margin, see my example here http://www.countyhistorian.com/cecilweb/index.php/Gavin_Newsom
I don't want to have to manually add ads to each page, I just want a global addition like the one I've already done in the Toolbox. But where do I put it to interrupt the main content or something...
W
Huib your extension, adds Adsense to the side bar, I'm already doing that, if you look at my example page that I sent in my last email.
What I want to do is add Adsense into the content section of a page, or as a banner across the top of the page.
Will
-----Original Message----- From: Huib Laurens sterkebak@gmail.com To: MediaWiki announcements and site admin list mediawiki-l@lists.wikimedia.org Sent: Wed, Mar 2, 2011 1:53 pm Subject: Re: [Mediawiki-l] Adsense
I use http://www.mediawiki.org/wiki/Extension:Google_AdSense_2
best,
Huib
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
On Wed, Mar 2, 2011 at 5:43 PM, Wjhonson wjhonson@aol.com wrote:
Huib your extension, adds Adsense to the side bar, I'm already doing that, if you look at my example page that I sent in my last email.
What I want to do is add Adsense into the content section of a page, or as a banner across the top of the page.
Will
You could do it with OutputPageBeforeHTML or the sitenotice.
-Chad
I've almost figured out how to do it. I've managed to move my Adsense ad to the top of each page See for example
http://www.countyhistorian.com/cecilweb/index.php/Current_events
But I think that Adsense has this Slot Id I have to tell it now, that the ad should be a banner, not a box. I think that's the remaining problem here.
W
I... Am... Brilliant! yes I am
http://www.countyhistorian.com/cecilweb/index.php/Main_Page
Adsense as a banner on every page :) No extensions were loaded, I just hacked the code to pieces.
mediawiki-l@lists.wikimedia.org