Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

index.php


redbugweb

Recommended Posts

The one in the /catalog folder contains the "code"

 

The one in the /catalog/includes/languages/[iNSERT LANGUAGE HERE] folder contains text definitions only, used for multilingual stores.

 

That help any?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

OK...

 

To put it another way....

 

To change what the page says (the text) you change what's in the language folder.

 

To change to way the page looks (arrangement of things) you change the one in the catalog folder.

:)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

OK...

 

To put it another way....

 

To change what the page says (the text) you change what's in the language folder.

 

To change to way the page looks (arrangement of things) you change the one in the catalog folder.

:)

 

Which files will I kill if I use an html editor to change the text on the index.php in the language folder? LOL!!!

 

 

Bo

Link to comment
Share on other sites

HTML is just plain text like PHP.

 

As long as the editor doesn't change things you don't want it to, you should be OK.

 

MAKE A BACKUP BEFORE EDITING.

 

That way if it screws it up, you can recover.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

HTML is just plain text like PHP.

 

As long as the editor doesn't change things you don't want it to, you should be OK.

 

MAKE A BACKUP BEFORE EDITING.

 

That way if it screws it up, you can recover.

I was only worried about this part

 

 

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

I left the file permissions off and and used the source file to change it in the editor.

 

 

Thanks bo

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...