[pmwiki-users] Google adsense

DaveG pmwiki at solidgone.com
Mon Dec 19 20:05:50 CST 2005


I've put direct javascript code in my .tmpl file so that it appears on 
every page, and it works fine, just as you have it. If you want it on a 
specific page, then I'm not sure, but I suspect that it's not allowable 
by default, as allowing anyone to add any code they like is going to be 
pretty insecure.

  ~ ~ Dave

Phil Seyer wrote:
> Is here anyway to add Google Adsense code to a pmwiki website so that 
> adwords will be displayed?
>  
> For example:
>  
> <script type="text/javascript"><!--
> google_ad_client = "pub-xxxx";
> google_ad_width = 120;
> google_ad_height = 600;
> google_ad_format = "120x600_as";
> google_ad_type = "text_image";
> google_ad_channel ="";
> //--></script>
>         <script type="text/javascript"
>   src="http://pagead2.googlesyndication.com/xx.js 
> <http://pagead2.googlesyndication.com/xx.js>">
> </script>
>  
> The above is an example only and is not real, working code.
>  
> Thanks,
>  
> Phil
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users




More information about the pmwiki-users mailing list