Adding google Adsense to XOOPS
Before putting adsense to your XOOPS you should read the TERMS and CONDITIONS of google twice. For e.g. You are not allowed to place countless ads blocks on your site. So read the conditions before being suspended.
Within the administration of ADSENSE you get different Code for different Ads layout.
3 ways to to this job without a module:
- Use banner function of XOOPS:
You can use the Adsense Code like adding each other banner type HTML to your xoops. Add a new banner, activate Option “Use Html?” in XOOPS banneradmin, copy and paste YOUR adsense Code in the textarea below and click “Add banner”. Thats it!
- Use blocks from type HTML:
Go to blockadministration, add a new block, put YOUR adsense Code in the textarea, select “Content Type” HTML and save the block. Now you can play with the blocksettings, show your ads on startpage or only on some modules. Place it left, right, center, where you want.
- Use the theme- or blockfile:
Not the best solution, for you can’t manage these ads within your administration but sometimes it would be useful to add the adsense code into your theme- or blockfile. Add the script into that position you want the ads to appear. In best case you will add a container around the Adsense code like <div id=”goosyads”> … </div>, then you can manage some settings like align or padding within your css file.
Any other ideas are welcome!
