Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Message on home page


mydoggie

Recommended Posts

I have the following message on the main page of my site:

 

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

 

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.

 

Error Messages

 

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

 

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

 

Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file.

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...');

 

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', '');

 

More information concerning the PHP define() function can be read here.

Securing The Administration Tool

 

It is important to secure the Administration Tool as there is currently no security implementation available.

Online Documentation

 

Online documentation can be read at the osCommerce Wiki Documentation Effort site.

 

Community support is available at the osCommerce Community Support Forums site.

 

 

How do I get rid of this and add my own "welcome letter" or something in that nature? All of my products and all that show up.

Link to comment
Share on other sites

If you read the message on your home page you will see it explains how to change it

 

I know it explains it but obviously it's not working for me or I wouldn't have asked.

:) I'll just wait for my web guy. He's out of town and I got impatient so I thought I'd ask here.

 

Thanks anyway........

Link to comment
Share on other sites

I know it explains it but obviously it's not working for me or I wouldn't have asked.

:) I'll just wait for my web guy. He's out of town and I got impatient so I thought I'd ask here.

 

Thanks anyway........

 

if you look in the file, /catalog/includes/languages/english/index.php

 

there is an entry.. " define("MAIN_TEXT", 'very long blah blah blah'); "

comment that out.. (hope you know how to comment out lines in php)

 

and add "define("MAIN_TEXT",'');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...