Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

TEXT_GREETING_GUEST


Guest

Recommended Posts

Posted

How do I change the order of the links in TEXT_GREETING_GUEST, so that create_account.php comes first, then login.php? I've already changed the text in english.php, but can't see how to change the links.

Posted

found it - the links are set in includes/functions/general.php

 

So to change the text the way I wanted, you need to edit in 3 places! And thats not including the stylesheet! :roll: Not what I would call a logical or user friendly way to do things. I hope its something to be changed in future versions.

Posted

I'm not sure what you mean. All 3 of the entries were in my catalog/includes/languages/english.php file.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted
I'm not sure what you mean. All 3 of the entries were in my catalog/includes/languages/english.php file.

 

english.php only defines the text - the link there is just %s. The order in which the links are called is set in includes/functions/general.php, so because I wanted the text to mention creating a profile/account (and link to create_account.php) before saying that existing users could login (and link to login.php), I needed to change that too.

 

If that's still clear as mud, LMK & I'll post the relevent bits of code. :wink:

Posted

I got it on that go around. Thank you for the clarification. :)

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Archived

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

×
×
  • Create New...