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);

 

  }

 

?>

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.