Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

content change error


Guest

Recommended Posts

hi,

 

I'm trying to change the contents of the original oscommece page

 

i change it from the admin tools --> define language --> index.php file

 

Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?

(how do i change the text at the above portion?)

 

This is a default setup of the osCommerce project, products shown are for demonstrational purposes, any products purchased will not be delivered nor will the customer be billed. Any information seen on these products is to be treated as fictional.

(manage to edit the above portion)

 

Error Messages

(manage to edit the above portion)

 

If there are any error or warning messages shown above, please correct them first before proceeding.

(manage to edit the above portion)

 

Error messages are displayed at the very top of the page with a complete background color.

(once i edit this line onwards, the whole contents disappear leavin on the 'TEXT_MAIN' displaying

 

pls advise where went wrong? am i editing hte wrong file?

Link to comment
Share on other sites

Pay close attention to these lines:

 

The text highlighted in green may be modified - 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', '');

 

http://www.oscommerce.com/osCommerce22ms2/

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

yup, edited it to

 

define('TEXT_MAIN', '');

 

but the text_main still apear in the page

 

any thing wrong here??

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...