1
xoopercat
want to add Google Adsense ad at the bottom of newstories
  • 2005/5/24 21:23

  • xoopercat

  • Just popping in

  • Posts: 17

  • Since: 2005/5/17


I want to add a Google Adsense ad at the bottom of my newstories articles. I tried editing the news_article.html page under the directory "xoops\html\modules\news\templates\", but it doesn't seem to do any good.

By this I mean I want it to appear when they click on the "read more" link to read the whole article. Also, I am using the default template, and a slightly modified version of the "young_leaves" theme.

What am I missing ? OR perhaps there is a more "proper" way to go about this ?

Thanks !

2
hyperpod
Re: want to add Google Adsense ad at the bottom of newstories
  • 2005/5/24 21:46

  • hyperpod

  • Quite a regular

  • Posts: 359

  • Since: 2004/10/4


I beleive you are almost there!

You simply need to Update the module in the Admin to refresh the template edit you just made.

Hope that works.

Best Regards,

3
gravies
Re: want to add Google Adsense ad at the bottom of newstories
  • 2005/5/24 21:48

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


Your plan:

1) Clone your template set (templates, clone)
2) Switch your site to the cloned set (preferences)
3) Go to the news templates, generate, then edit the correct template (find the correct one by looking at the content and the template name)
4) Add your google adsense under the body of the article in the template - save
5) Try reload but if nothing changes then delete the cached templates in /templates_c

Should be done...

4
xoopercat
Re: want to add Google Adsense ad at the bottom of newstories
  • 2005/5/25 1:23

  • xoopercat

  • Just popping in

  • Posts: 17

  • Since: 2005/5/17


Thanks Hyperpod/Gravies --- that worked !

Login

Who's Online

149 user(s) are online (125 user(s) are browsing Support Forums)


Members: 0


Guests: 149


more...

Donat-O-Meter

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

Latest GitHub Commits