Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

My index.php


pnewell9

Recommended Posts

Posted

Hi, All! I'm a rank amateur at all this...a real "NEWBIE"...and I need a little help. I'm trying to teach myself how to work with osCommerce and need to remove a few lines of the original text in my index.php page. I'd really appreciate it if someone would take a look at it www.thegpsshack.com and tell me how and where to remove the text above the New Products infobax in the middle colomn. It's not visible in the index.php code, anywhere ! And...please....I'm a retired aerospace field engineer and not a programmer. Thank you all very much !! m Peter

Posted

i am also new but i think this will help.

this is from the main page on a fresh install of oscommerce. also make sure you are looking in the index.php file located in the path below. it is different from the one on catalog/index.php

hope i could help. good luck.

 

 

Editing Page Texts

 

The text shown here can be modified in the following file, on each language basis:

 

[path to catalog]/includes/languages/english/index.php

 

That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules.

 

The text is set in the following manner:

 

define('TEXT_MAIN', 'This is a default setup of the osCommerce project...');

 

it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist:

 

define('TEXT_MAIN', '');

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...