stretchgre Posted September 27, 2011 Posted September 27, 2011 Hello having trouble getting shipping info to show in the box. Where do I put it? Please help and thanks. <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2010 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SHIPPING); $tab_sel = tep_href_link(FILENAME_SHIPPING); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_SHIPPING)); require(DIR_WS_INCLUDES . 'template_top.php'); ?> <?php echo tep_draw_content_top();?> <?php echo tep_draw_title_top();?> <h1><?php echo HEADING_TITLE; ?></h1> <?php echo tep_draw_title_bottom();?> <div class="contentContainer"> <div class="contentPadd txtPage"> <div class=""> <?php echo TEXT_INFORMATION; ?> </div> <div class="buttonSet fl_right" align="right"> <span class="buttonAction"><div class="bg_button2" onMouseOut="this.className='bg_button2';" onMouseOver="this.className='bg_button2-act';"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', tep_href_link(FILENAME_DEFAULT)); ?></div></span> </div> </div> </div> <?php echo tep_draw_content_bottom();?> <?php require(DIR_WS_INCLUDES . 'template_bottom.php'); require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
Guest Posted September 27, 2011 Posted September 27, 2011 In the /includes/languages/english/shipping.php file, replace the text Put here your Shipping & Returns information. with your text. The file you posted does not contain the language definition. <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Shipping & Returns'); define('HEADING_TITLE', 'Shipping & Returns'); define('TEXT_INFORMATION', 'Put here your Shipping & Returns information.'); ?> Chris
stretchgre Posted September 27, 2011 Author Posted September 27, 2011 When I do that the screen comes up blank on the link now. Do I need to do more when i change the text in Dreamweaver?
Guest Posted September 27, 2011 Posted September 27, 2011 NEVER use Dreamweaver or any other Drag and Drop web site creation program to edit PHP files. The 'whitespace' is caused by Dreamweaver adding formatting tags to the file. Use Notepad++ or Editplus+ to edit php files. Chris
Recommended Posts
Archived
This topic is now archived and is closed to further replies.