Results 1 to 4 of 4

OsCommerce Modification: How to Change Opening heading?

This is a discussion on OsCommerce Modification: How to Change Opening heading? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I just installed OsCommerce on my website buildandmaintain.com and I am trying to change the opening lines of "This is ...

      
  1. #1
    Lurker
    Join Date
    Nov 2002
    Posts
    1
    Rep Power
    0


    Default OsCommerce Modification: How to Change Opening heading?

    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

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

    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.

    Thanks.

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    Change this in /catalog/includes/languages/english/default.php
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Anonymous
    Guest


    Default Thank you very much

    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

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    You are looking for the wrong thing. It will be a 'require' statement. It is about line 30-40 in default.php:

    Code:
    require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT);
    It calls the language file we referenced above.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. change # of items displayed on opening page=new_products.php
    By gameparts in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 03-28-2005, 05:32 AM
  2. Change from oscommerce in top title bar in brower
    By Anonymous in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 04-02-2004, 12:21 PM
  3. Help : Change the outlook of OSCommerce Cart
    By xfriday in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 02-23-2004, 08:38 AM
  4. osCommerce Modification
    By oscdox in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 08-12-2003, 05:00 PM
  5. Where to change the heading text in product_listing.php???
    By johnnyosc in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 02-18-2003, 10:32 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •