Adding google Adsense to XOOPS

Advertising
Using targeted Ads on a website becomes more and more popular. Adding Google Adsense to XOOPS is as easy as to add it into static xHTML files. We do not have a plugin or a module actually which gives us some more features. While speaking about it, I could imagine marcans multilanguage to do this job, which would allow us to save content (here: different types of ads) and assign smartys to we can use in our themes and blocks.

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!





Leave a Reply

You must be logged in to post a comment.


SITES of the MONTH : 08/2005: linux-gamers.net - fireworks.verno.ru | 09/2005: viapontedinona.it
10/2005: RF Online Base | 11/2005: FREE-EOS | 12/2005: Asian Car Styling | 01/2006: DSLnachPankow.de
02/2006: Roma Victor Camp | 03/2006: NABUUR.COM | 04/2006: Styling+Design-Noord | 05/2006: VETOFISH
06/2006: Utah Antique Machinery News | 07/2006: lebuccaneer.com | 08/2006: Top-logiciel
09/2006: Concrete Connections | 10/2006: Fios Uniao | 11/2006: Casafree Maroc | 12/2006: Ainpg.com
1/2007: Parent Solo


xoopsfactory.com/blog powered by WordPress | Entries (RSS) | Comments (RSS)
Kugelschreiber, Buntstifte und mehr