Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

index.php


redbugweb

Recommended Posts

Posted

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 >

Posted

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 >

Posted

That makes much more sense. Thanks so much!! My cart is finally looking like I want it to look. Only one more problem to figure out LOL

Posted
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

Posted

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 >

Posted
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

Archived

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

×
×
  • Create New...