Sunday, December 11, 2011
How to Move AdSense in Drupal
1. Log into your Google AdSense account. Use the AdSense interface to generate AdSense code using whatever parameters you wish.
2. Highlight and copy the code that you have generated.
3. Open your FTP client and log into your Drupal website.
4. Navigate to the directory containing your theme files. In a typical Drupal install, these files are found in the following directory: '/drupal/sites/all/themes'
5. Locate the theme file in which you would like to place your AdSense ad. Save it to your local computer.
6. Open the file using a text editor, such as Notepad or Wordpad. Paste the AdSense code wherever in the theme file you would like it to appear. Save the file as the exact same name and file extension as it appeared in the theme directory you downloaded it from.You can move the code again at any time by cutting and pasting it to wherever in the theme file you please, or to a different theme file altogether.
7. Log into your FTP client and navigate to your Themes directory again. Upload the updated theme file you just pasted your AdSense code in, replacing the old version you downloaded. Navigate to any page on your Drupal website that uses the theme file you just entered your AdSense code into. The ads should now appear where you placed them.
adsense tips Copyright © 2011 | Template created by O Pregador | Powered by Blogger