Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Edit Text on Catalog Screen?


greyson

Recommended Posts

Hi, Folks. I feel like such an idiot asking this, but I can't figure out this basic step. On the catalog screen. After the initial install there is a buch is suggestive text to help the user setup. There is also text that says, this site is for demo purporses only. Nothing bought will be credited, etc, etc.

 

Well, I can't seem to find or edit that text. My solution to edit if to manually FTP down the admin/includes/languages/english/index.php file.

 

Well, when I open the file or even look at it, there is no such text as seen on the catalog page.

 

If this helps, there are bullet points saying the following:

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.

 

Any help would be greatly appreciated.

 

Regards,

Greyson

Link to comment
Share on other sites

This text is defined in the catalog/includes/languages/yourlanguage/index.php file and not in catalog/admin/includes/languages/yourlanguage/index.php (this is text for the admin pages).

Link to comment
Share on other sites

This text is defined in the catalog/includes/languages/yourlanguage/index.php file and not in catalog/admin/includes/languages/yourlanguage/index.php (this is text for the admin pages).

 

Yep. I knew I was not seeing something. I just am now getting a basic understanding of how OCCOMMERCE is setup. Thank you very much!

 

Greyson

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...