This is a discussion on New infoboxes don't appear in page.. within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; am trying to install a Google Acceptance Logo infobox..I think I have followed the steps listed in the knowledge base ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| am trying to install a Google Acceptance Logo infobox..I think I have followed the steps listed in the knowledge base article and they still don't appear....Here is the code in each of the areas...Would appreciate any help some one could give me...Thanks Karl __________________________________________________ ______________________________ _______ //includes/boxes/google_logo.php tr> <td> <?php { $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => GOOGLE_LOGO_BOX_HEADER ); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $content='<center><link rel="stylesheet" href="https://checkout.google.com/seller/accept/s.css" type="text/css" media="screen" /> <script type="text/javascript" src="https://checkout.google.com/seller/accept/j.js"></script> <script type="text/javascript">showMark(2);</script> <noscript><img src="https://checkout.google.com/seller/accept/images/ht.gif" width="182" height="44" alt="Google Checkout Acceptance Mark" /></noscript>></a></center>'; $content.= ''; $info_box_contents[] = array('text' => $content); new infoBox($info_box_contents); } ?> </td></tr> __________________________________________________ ______________________- includes/languages/english.php define('BOX_HEADING_GOOGLE_LOGO', 'Payments'); __________________________________________________ ___________________________ includes/languages/english/google_logo.php <?php /* $Id: specials.php,v 1.1.1.1.2.1.2.2 2005/09/21 20:58:14 Michael Sasek Exp $ osCMax Power E-Commerce http://oscdox.com Copyright © 2005 osCMax, 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'We Accept Google Checkout'); define('HEADING_TITLE', 'We Accept Google Checkout!'); ?> __________________________________________________ ______________________________ ____ includes/column_right.php require(DIR_WS_BOXES . 'reviews.php'); // BOF: MOD - Article Manager require(DIR_WS_BOXES . 'authors.php'); require(DIR_WS_BOXES . 'articles.php'); if (substr(basename($PHP_SELF), 0, include(DIR_WS_BOXES . 'languages.php'); include(DIR_WS_BOXES . 'currencies.php'); include(DIR_WS_BOXES . 'google_logo.php'); } // BOF: MOD - INFO BOXES - now pulled dynamically as per setting in admin */ __________________________________________________ ______________________________ _ google_logo.php <?php /* $Id: shipping.php,v 1.3.2.1.2.2 2005/09/21 20:57:19 Michael Sasek Exp $ osCMax Power E-Commerce http://oscdox.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Most of this file is changed or moved to BTS - Basic Template System - format. // For adding in contribution or modification - parts of this file has been moved to: catalog\templates\fallback\contents\<filename>. tpl.php as a default (sub 'fallback' with your current template to see if there is a template specife change). // catalog\templates\fallback\contents\<filename>. tpl.php as a default (sub 'fallback' with your current template to see if there is a template specife change). // (Sub 'fallback' with your current template to see if there is a template specific file.) require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_GOOGLE_LOGO); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_GOOGLE_LOGO)); $content = CONTENT_SHIPPING; $content_template = TEMPLATENAME_SHIPPING; include (bts_select('main', $content_template)); // BTSv1.5 require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> __________________________________________________ ______________________________ _ includes/filenames.php define('FILENAME_GOOGLE_LOGO', 'google_logo.php'); |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| infoboxes appear behind coolmenu instead of below | betagirl | osCMax v2 Installation issues | 0 | 04-18-2006 09:46 PM |
| Shadow around Infoboxes ?? | RalfNe | osCommerce 2.2 Modification Help | 8 | 03-29-2004 01:44 PM |
| Space between infoboxes? | Kristine | osCMax v1.7 General Mods Discussion | 1 | 03-23-2004 03:22 AM |
| Turning off infoboxes | mcdanie1 | osCommerce 2.2 Modification Help | 9 | 03-03-2004 03:33 PM |
| different color links in infoboxes then in the rest of page | bagged89s10 | osCommerce 2.2 Modification Help | 1 | 12-10-2003 05:09 PM |