Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Main Page/Home Page


2johnsons

Recommended Posts

Posted

I was able to remove practically all the text but Im wasn't able to remove " MAIN_TEXT " why is this still showing up and how can I get rid of it? (see below)

 

 

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

 

TEXT_MAIN

 

New Products For October

Posted

In your catalog index.php file change this:

 

			<td class="main"><?php echo TEXT_MAIN; ?></td>

to

 

			<td class="main"><?php //echo TEXT_MAIN; ?></td>

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
In your catalog index.php file change this:

 

			<td class="main"><?php echo TEXT_MAIN; ?></td>

to

 

			<td class="main"><?php //echo TEXT_MAIN; ?></td>

 

 

Perfect Jim thank you for the help.

  • 3 weeks later...
Posted

HI

 

i have this same problem here

 

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

 

TEXT_MAIN

 

 

i changed as above but still the same. how to fix it guys?

Posted
please any help here?

 

The above fix is correct, if it is not working then you have not applied it correctly.

 

Your alternative is to empty the TEXT_MAIN string in the language file, this is probably preferable as it avoids cracking open the php itself

  • 2 weeks later...
Posted

I to am trying to get rid of the

TEXT_MAIN

I deleted the TEXT_MAIN in the /English/index.php page but still have just the TEXT_MAIN coming up

there got to be php sending this text where is it found?

I do not have TEXT_MAIN found in the code on index.php catalog page

 

 

WAIT I DID FIND THE CODE AND IT IS IN INDEX.php THE ADVICE TO '//' THE PHP WORKS TKS :D

Archived

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

×
×
  • Create New...