PeaceB2U Posted August 11, 2008 Share Posted August 11, 2008 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); } ?> Quote Link to comment https://forums.phpfreaks.com/topic/119178-how-do-i-add-id-to-google-adsense-module-for-zen-cart/ Share on other sites More sharing options...
tonnydabb Posted August 19, 2008 Share Posted August 19, 2008 Hi, Something went wrong there you are thinking too much. Just do it normally. Quote Link to comment https://forums.phpfreaks.com/topic/119178-how-do-i-add-id-to-google-adsense-module-for-zen-cart/#findComment-619911 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.