This is a discussion on Changing default Guest to something else... within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Can any one point me in the right direction as to where to change the default "Guest" to something else..... ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Can any one point me in the right direction as to where to change the default "Guest" to something else..... I can't find it..... Thank you for your help in advance. |
|
#2
| ||||
| ||||
| To modify welcome text: http://guide.oscdox.com/Modification...nd_Welcome.htm Edit these lines: Code: 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?');
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>');
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>?');
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Hi, Thanks for that! Just a small questioins... is there a Calendar contribution anywhere? Thanks heaps for all your help Angie |
|
#4
| |||
| |||
| Quote:
Thanks, Ivan |
|
#5
| ||||
| ||||
| Ivan - if you click the link it will tell you. But FYI - /catalog/includes/languages/english/default.php
__________________ Michael Sasek osCMax Developer
|
|
#6
| |||
| |||
| My default.php (default.php,v 1.20 2003/02/14) file doesn't have that in. |
|
#7
| |||
| |||
| This is actually contained in catalog/includes/functions/general.php for anyone else who wants to make changes. |
|
#8
| ||||
| ||||
| Here is an updated guide page that covers text changes and code changes for MS1: http://www.oscdox.com/modules.php?op...ntroAndWelcome Note: general.php contains the function that generates the greeting, but does not define the actual text. That is done in the /catalog/includes/languages/__english.php__ file, as of MS1.
__________________ Michael Sasek osCMax Developer
|
|
#9
| |||
| |||
| Just to correct all of these posts for newbies like myself: This change is REALLY located in (atleast in my shop code) in the english.php file located in catalog/inlcudes/languages. Do a search for 'welcome' and you will find it easily. And you can change colors/fonts etc in stylesheet.css in catalog/ dir. HTH, Phil |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| default language not changing? | gemdesign | osCMax v1.7 Discussion | 3 | 10-21-2005 08:18 AM |
| Changing default TAX class when adding new products | fuzzyphil | osCMax v1.7 General Mods Discussion | 0 | 07-28-2005 10:42 PM |
| changing default 3 items per row in osCMax 1.7 | stevensdesign | osCMax v1.7 General Mods Discussion | 3 | 02-16-2005 07:44 AM |
| Changing order number default | Plastic | osCMax v1.7 Installation | 2 | 10-21-2004 08:14 PM |
| Changing the default amount of thumbnails per page | fireburst | osCMax v1.7 Discussion | 2 | 07-26-2004 03:42 PM |