/[drupal]/contributions/modules/google_admanager/README.txt
ViewVC logotype

Contents of /contributions/modules/google_admanager/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Fri Nov 21 23:36:42 2008 UTC (12 months ago) by toemaz
Branch: MAIN
CVS Tags: DRUPAL-6--1-0, HEAD
Changes since 1.2: +11 -11 lines
File MIME type: text/plain
Correction proposed by jumpfightgo at http://drupal.org/node/337570
1 Module: Google Admanager
2 Author: Thomas Bonte <www.thomasbonte.net>
3
4 Description
5 ===========
6 Adds the Google Admanager code to your website.
7
8 Requirements
9 ============
10 Google Admanager account: https://www.google.com/admanager/
11
12
13 Installation
14 ============
15 1. Copy the 'google_admanager' module directory in to your Drupal
16 sites/all/modules directory as usual
17 2. Go to admin/settings/google_admanager and fill in the form
18 3. For each submitted Ad Slot name, you will get find a block
19 at admin/build/block which you can add to a region
20 4. Add the following code into your theme's template.php file.
21 (If phptemplate_preprocess_page(&$vars) already exists,
22 copy the four lines starting with "// Insert Google..."
23 into the function.)
24
25 function phptemplate_preprocess_page(&$vars) {
26
27 // Insert Google Ad Manager scripts into header
28 if (module_exists('google_admanager')) {
29 $vars['scripts'] .= google_admanager_add_js();
30 }
31
32 }
33
34
35 Support
36 =======
37 Offcial Drupal project page
38 http://drupal.org/project/google_admanager
39
40 File a bug or support request at
41 http://drupal.org/project/issues/google_admanager

  ViewVC Help
Powered by ViewVC 1.1.2