jasper0 Posted August 8, 2006 Share Posted August 8, 2006 I 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, 8) != 'checkout') { 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'); Link to comment Share on other sites More sharing options...
choosealogin Posted August 8, 2006 Share Posted August 8, 2006 I think you've done everything OK, but your problem is this // 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.) Because it's a template, the directions would be a little different. I don't have any familiarity with BTS, but I'm pretty sure that's why your box doesn't show (it needs to be integrated into the template) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.