1

I am working with an old system for a colleague that uses osCommerce and I am trying to change some information in the about us section. Does anyone know how you'd change the content? I am a little lost analysing this code. Where is the TEXT_INFORMATION coming from?

<?php
/*
  $Id$

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2010 osCommerce

  Released under the GNU General Public License
*/

  require('includes/application_top.php');

  require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ABOUT_US);

  $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_ABOUT_US));

  require(DIR_WS_INCLUDES . 'template_top.php');
?>

<h1><?php echo HEADING_TITLE; ?></h1>

<div class="contentContainer">
  <div class="contentText">
    <?php echo TEXT_INFORMATION; ?>
  </div>
</div>

<?php
  require(DIR_WS_INCLUDES . 'template_bottom.php');
  require(DIR_WS_INCLUDES . 'application_bottom.php');
?>

1 Answers1

2

TEXT_INFORMATION is definied in the language file. It has been required at the top on the line

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ABOUT_US);

Assuming your language is english you can find the about_us.php with language in the folder

includes/languages/english
Fabio
  • 23,183
  • 12
  • 55
  • 64
  • One other issue I have is I changed my password for my database, where do I access the Code to update this? – nathancording Feb 21 '17 at 10:19
  • you can change this in `config.php` file, there are two of them, one for admin section and one for catalog section. You can find them in the folder `includes` – Fabio Feb 21 '17 at 10:22
  • Omg thank you so so much, I really do appreciate your speedy response and help. You saved my backside there, kind regards – nathancording Feb 21 '17 at 10:26