Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What's New Here?


yungpot

Recommended Posts

thanks a lot. does anyone know how to get rid of this?

 

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

 

thanks

index.php on or about line 337

 

Change from this

<td class="main"><?php echo tep_customer_greeting(); ?></td>

 

To this

 

<td class="main"><?php //echo tep_customer_greeting(); ?></td>

 

Commenting out the echo or you can remove the line alltogether, both will work.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Change from this

<td class="main"><?php echo tep_customer_greeting(); ?></td>

 

To this

 

<td class="main"><?php //echo tep_customer_greeting(); ?></td>

 

Commenting out the echo  or you can remove the line alltogether, both will work.

No No No .. that is the bad way to do it... If you want to change TEXT you should never edit the core files, you should always edit the language files.

 

You should just change the define TEXT_GREETING_GUEST located in the /catalog/languages/english.php file. If you want nothing just leave it empty like so:

define('TEXT_GREETING_GUEST', '');

Or change it to something else you want to say. It is nice to have a greeting of some kind for you Guests.

 

FYI...

If there is some text you want to change it should be in the language files someplace. You can do a file search in your catalog directory for the strings in this case search for "Welcome" and it will find a few options one of which was the one listed above. This will save you a lot of time.

 

-Aalst

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...