| Re: News 1.63 and google adsense |
| by Anonymous on 2008/12/17 16:39:06 Thank you for your little tutorial Trabis. I got it working now
|
| Re: News 1.63 and google adsense |
| by trabis on 2008/12/17 0:36:23 Edit news/templates/news_item.html Then paste the tag <{$advertisement}> where you want it to display. Please have in atention that the advertisement is also included on index.php. This means that you can have a list of several articles each one displaying an advertisement. This will be against the conditions imposed by google adsense. If you want your ad close to your news item text then you should consider showing it just in article.php (single item) and for doing so you need to edit news/index.php and remove line~276: $xoopsTpl->assign('advertisement', news_getmoduleoption('advertisement')); If you want to place your ad bellow the news item (for example, above the comments nav) then you may find a better place for the tag in templates/news_article.html (which is not used in index.php and will avoid the hack) |
| Re: News 1.63 and google adsense |
| by Anonymous on 2008/12/16 19:37:06 Bump Is there anybody who has seen this option working? |
| Re: News 1.63 and google adsense |
| by Anonymous on 2008/12/14 12:54:59 When putting in an ordinary text it does not show as well. Besides that it's a function I'd like to use, I don't like hacking templates for this. |
| Re: News 1.63 and google adsense |
| by webmystar on 2008/12/14 12:48:59 i think the news modul "destroy" the structur from the adsense javascript code ... i would write the adsense code in the template from the news modul. |