1
calvinhobbes
adsense code in the news article itself...???

...in another thread i found out how to make content flow around images or having left and right column type in an article using css float:right

i want to put adsense code in here..so in the article..the content is on the left and the adsense square box is on the right ..so far it hasnt worked..when i put the adsense code..it shows blank..

any ideas ??

2
christian
Re: adsense code in the news article itself...???
  • 2006/11/27 14:03

  • christian

  • Just can't stay away

  • Posts: 401

  • Since: 2002/2/24


Look this thread

Cheers

3
calvinhobbes
Re: adsense code in the news article itself...???

Thats adsense code between scoop and extended text.

I want like content on left and adsense code on right..like a table with left and right columns..

any ideas ?

4
chippyash
Re: adsense code in the news article itself...???
  • 2006/11/28 6:23

  • chippyash

  • Friend of XOOPS

  • Posts: 501

  • Since: 2004/1/29


Try creating a table



content hereAdsense here

5
calvinhobbes
Re: adsense code in the news article itself...???

I tried that..the adsense box just doesnt show up..

i guess because its a javascript and thats not working inside the news article..

do we need to handcode it just like it has been done for getting adsense code between scoop and extended text ??

6
tcnet
Re: adsense code in the news article itself...???
  • 2006/11/28 11:47

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Some text editors (kiovi) filter out scripts to prevent malicious activity. You might try using dhtml editor with html enabled.

Cloning and editing the news_article.html template will allow you to display the ad before or after the article.
Don't forget to refresh the news module in modules/system admin.

Hacking article.php ( thread) to display the ad between scoop and story is another option but it will make upgrading the module more difficult.

Login

Who's Online

239 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 239


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits