Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to remove "Welcome guest..."


Guest

Recommended Posts

Posted

How do I remove the "Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?"

 

Thank you.

 

Dave

Posted
How do I remove the "Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?"

 

Thank you.

 

Dave

Did you read the statement on the page?

Posted
Did you read the statement on the page?

 

Read statement on what page? Not sure what you mean.

 

I did a forum search for "remove welcome" , "welcome guest" etc, and did not find it.

 

I am sure this is a common question.... so that is why I named the topic very directly so others might find the answer easily.

Posted
Read statement on what page? Not sure what you mean.

 

I did a forum search for "remove welcome" , "welcome guest" etc, and did not find it.

 

I am sure this is a common question.... so that is why I named the topic very directly so others might find the answer easily.

Sorry, look in catalog\includes\english.php

 

If you are sure you want to delete it, ok. Just be sure that there is somewhere obvious for them to do it.

 

Do not delete it, comment it out so that you change

 

define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');

to

//define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');

and put in directly under it

define('TEXT_GREETING_PERSONAL','');

That way, it won't affect the page anf if you want it back, it is easy.

Posted

Thank you... but that does not look like the same script.

 

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

 

Is english.php a file or a folder?

 

If a folder in what file then.

 

Sorry for the dumb questions.

 

Is there another post out there, that answers this topic, that I could not find?

I would think others would have asked this before.

 

Dave

Posted

catalog/includes/languages/english.php

 

The reason for the frosty replies is because this is a very basic question that could be have been answered by either:

- reading what is already on that page and following the instructions

- reading through the documentation

- reading any help files

- searching through the forum

SolarFrenzy

Solar powered gadgets at down to earth prices.

 

CheekyNaughty

Promoting British Design

Posted

Its actually the 'TEXT_GREETING_GUEST' field in catalog\includes\languages\english.php where that field is defined, but yes, its a basic question.

Posted

If you just comment out what has been suggested, you get THIS displayed:

TEXT_GREETING_GUEST

 

Wally.

Posted

how to edit or remove defined text.

 

 

define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');

to

//define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');

and put in directly under it

define('TEXT_GREETING_PERSONAL',' you need to remove all text but leave the ' and ' in between ');

 

 

How to search for for common questions.

 

In yahoo or google you will type enough of your question in the search bar and add oscommerce behind it:

 

http://search.yahoo.com/search?p=how+to+re...ss&ei=UTF-8

 

http://www.google.com/search?q=how+to+remo...lient=firefox-a

Posted
If you just comment out what has been suggested, you get THIS displayed:

TEXT_GREETING_GUEST

 

Wally.

define('TEXT_GREETING_GUEST', '');

Archived

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

×
×
  • Create New...