Jump to content

How do I add ID to Google Adsense module for Zen-Cart?


PeaceB2U

Recommended Posts

I recently set up the zen-cart shopping cart script to my site so I can sell merchandise.  This script came with a ready made google adsense module, but I can't figure out where to place my google account ID.  Can someone help?

 

I did find the google adsense module php file.  It looks like this:

 

 

 

<?php

/**

* google adsense sidebox - displays google adsense ads in a sidebox

*

* @package templateSystem

* @copyright Copyright 2003-2005 Zen Cart Development Team

* @copyright Portions Copyright 2003 osCommerce

* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

* @version $Id: google_adsense.php 2006-06-06 06:06:06Z gilby $

*

* Display on non ssl pages only as you don't want to distract a paying customer

*/

 

  if ($request_type == 'NONSSL') {

 

    require($template->get_template_dir('tpl_google_adsense.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_google_adsense.php');

 

    $title = BOX_HEADING_GOOGLE_ADSENSE;

    $left_corner = false;

    $right_corner = false;

    $right_arrow = false;

    $title_link = false;

 

    require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);

 

  }

 

?>

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.