Page 1 of 1

How can I have Adsense working correctly with Cms Ms?

Posted: Thu Sep 07, 2006 7:56 pm
by trud
I have tried to make Adsense work but can't seem to get it correct.  Have anyone made it work?
I belive the place to put it would be directly in the template. That way it will display on all pages and can be easily managed if
color setting changes or anything like that.

I have tried to just paste the script directly in the template, but that will not work. why I do not know.

I saw there was someone who had a module for this, but I belive for me it would be better to just cram it all in the template.

Any tips?

Re: How can I have Adsense working correctly with Cms Ms?

Posted: Thu Sep 07, 2006 8:54 pm
by tsw
It better to create user defined tag for adsense script and include it (it doesnt really matter, but it looks nicer when editing template)

There shouldnt be any problems with adding adsense to cmsms (tested multiple times myself) and if you dont provide any errors we cant really help...

Re: How can I have Adsense working correctly with Cms Ms?

Posted: Thu Sep 07, 2006 9:18 pm
by trud
Hm. So what would a userdefined tag look like?
I am currently consulting the userhandbook, but without strong php skills it makes it that much harder.

So where do I store the javascript? Do I make a include file or where does it go?

What php code would call the javascript?

What do I put in the UDT?

Re: How can I have Adsense working correctly with Cms Ms?

Posted: Fri Sep 08, 2006 7:56 am
by tsw
crosspostin but take a look at your other thread

http://forum.cmsmadesimple.org/index.ph ... l#msg36105