Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I change a sentence on my homepage


katman1971

Recommended Posts

Posted

Hi

 

What file should I look in to delete "would you like to sign in or create an account?"

 

It's one of the first things people see and I dont think it looks good there.

 

Thanks

Posted

Textmaster contribution will help you be able to edit all your text files.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

I think its in catalog/includes/languages/english.php (or german.php etc)

 

 

TEXT_GREETING_GUEST (and PERSONAL and PERSONAL_RELOGON though i dont know when relogon might be used)

Posted
I think its in catalog/includes/languages/english.php (or german.php etc)

 

 

TEXT_GREETING_GUEST (and PERSONAL and PERSONAL_RELOGON though i dont know when relogon might be used)

Quite self explanatory

define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>');

asks if you are the person logged in.

Posted

OOPS.

 

I went into public_html/includes/languages/english.php and simply erased this line:

 

"Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');"

 

I got this error message when I go to my website.

 

"Parse error: syntax error, unexpected T_STRING in /home/homeland/public_html/includes/languages/english.php on line 291"

 

Any suggestions?

Posted
OOPS.

 

I went into public_html/includes/languages/english.php and simply erased this line:

 

"Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');"

 

I got this error message when I go to my website.

 

"Parse error: syntax error, unexpected T_STRING in /home/homeland/public_html/includes/languages/english.php on line 291"

 

Any suggestions?

Put the line back.

Posted
Put the line back.

 

Ok, I put the line back but is this the line I should be editing to erase "would you like to sign in or create an account?"

 

 

Thanks

Posted

If you want to remove that from your index page then go to

 

catalog/index.php and find around line 301

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

Change to

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

 

If you want to edit what those greetings say then edit what is in

catalog/includes/languages/english.php

Posted

The question was to edit the text, the answer is to change or remove all code between the ' and ' on line 286 of includes>languages>english.

 

All editable text is in your languages folder

 

define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');

 

If you would like to change this to text of your own then your would do so by

 

define('TEXT_GREETING_GUEST', '<p>Lorem ipsum dolor sit amet.</p>');

Archived

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

×
×
  • Create New...