mali oglasi na pravom mjestu
<a href="http://www.Oglasi.com">Oglasi.com - oglasi i nekretnine</a>
The google adsense module allows you to set google adsense ads easy and in the way that would you expect to have when you use smart template engine and 68 classifieds. You have a admin module where you manage your publisher codes. Every publisher code will get a id in the database table for this module. In the layout you can set the width, height and slot for a google adsense ad. When you set the id from the above table, you choose the publisher code also. If you don't enter any id, the system use the first publisher code that is found in the table. When you have add your publisher code into the database just add the adsense code in this way to template files where you wish to have the google ads:
{google_adsense slot="123456789" width=120 height=600}
Please install the code in the directory modules. You will got this directory structure with files in there:
google/
|-- Google.php
|-- admin.php
|-- config.php
|-- init.php
|-- plugins
| `-- function.google_adsense.php
|-- readme.txt
`-- templates
|-- google_add.tpl.php
|-- google_browse.tpl.php
`-- google_edit.tpl.php
There are 2 directories and 9 files. Please install the file from the plugins directory function.google_adsense.php to the includes/classes/smarty/plugins/ directory. After the installation, go to administration panel, modules section and click the regenerate button. You should see the Google Adsense Mod now. Click on initialize, to install the database tables and configuration. In the admin part set your google adsense "pub- code". Thats all. Now you can use the adsense code in the way described above. Here once: When you have add your publisher code into the database just add the adsense code in this way to template files where you wish to have the google ads:
{google_adsense slot="123456789" width=120 height=600}
Google Adsense Classifieds Module
Thanks. Regards :)
Yes, how it looks like, see bellow: