By vikramdhani on
i want to know if there is way that i can add the google adsense code when the post if been posted to the website
can someone help me with that
i want to know if there is way that i can add the google adsense code when the post if been posted to the website
can someone help me with that
Comments
=-=
investigate the adsense.module in the downloads area and read throughly the README.txt and/or INSTALL.txt files
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Custom tpl.php -file or adjust node.tpl.php
For more please see: http://drupal.org/node/11816
That's a good place to start.
Harjoituspäiväkirja - www.lenkkivihko.fi
is there a way i can edit
is there a way i can edit node.tpl.php so that when i create a page adsense should show up automatically instead of adding the adsense code automatically ?
please let me know ? if anyone can help me on this because i dont understand the coding too much so dont wan t to mess with it
Use CCK and contemplate
Personally I found, that the CCK and Contemplate module works rather fine for me. With CCK you can add toggle boxes for ad units to your pages (so you can selectivly switch banners on and off), while contemplate does a nice job of injecting the AdSense code into the content area.
Detailed instructions:
http://www.onyxbits.de/content/blog/patrick/integrating-adsense-drupal