View Full Version : OsCommerce Modification: How to Change Opening heading?

11-23-2002, 05:41 PM
I just installed OsCommerce on my website buildandmaintain.com and I am trying to change the opening lines of "This is a test install, no items will be sent. . . . "

Within the default.php I belive I see where that is written

<td class="main"><?php echo tep_customer_greeting(); ?></td>
<td class="main"><br><?php echo TEXT_MAIN; ?></td>

Where is the code for tep_customer_greeting() and how do you change what is echoed out to the page. I am new to php, and would appreciate any help.


11-24-2002, 08:43 PM
Change this in /catalog/includes/languages/english/default.php

11-25-2002, 06:07 AM
Thanks the strings were right there. Where is the /catalog/includes/languages/english/default.php sourced in withing the /catalog/default.php is there some inplicit source that I can't find. I've checked the application pieces. This will really help my understanding of the app structure.

Miguel Collins

P.S. Thanks again

11-25-2002, 07:16 AM
You are looking for the wrong thing. It will be a 'require' statement. It is about line 30-40 in default.php:

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

It calls the language file we referenced above.