This is a discussion on Welcome Guest and Name missing within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Not sure what has happened here and it's the first time it's happened to me but for some reason the ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Not sure what has happened here and it's the first time it's happened to me but for some reason the greeting on the mainpage is not there. The text starts with the wording I changed in the Admin main page area. I looked in languages/english.php and found this but not sure what else I need to look at to see why it doesn't show. Thanks oz 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>?'); |
|
#2
| ||||
| ||||
| That welcome/greeting has been removed from the templates and is never there in osCMax. It has been that way as long as I can remember. I think if you look in index_default.tpl.php or index_nested.tpl.php, the code may still be in the template, but commented out. I do not have the files in front of me now, so I cannot check.
__________________ Michael Sasek osCMax Developer
|
| The Following User Says Thank You to michael_s For This Useful Post: | ||
ozstar (05-05-2007) | ||
|
#3
| |||
| |||
| Thanks Michael, I looked in those 2 you mentioned in /fallback/content/ but couldn't see anything that looked like it might do anything for the 'Welcome', then again I don't trust myself either in this department!! The version that does have it working (maybe /3 year old).. has this when I see source ion main page.. <tr> <td><img src="http://www.oscmax.com/forums/images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main">Welcome <span class="greetUser">Guest!</span> Would you like to <a href="http://www.starliterecords.com.au/catalog/login.php?osCsid=c661e320a379b95992f3c365483ca27f" ><u>log yourself in</u></a>? Or would you prefer to <a href="http://www.starliterecords.com.au/catalog/create_account.php?osCsid=c661e320a379b95992f3c365 483ca27f"><u>create an account</u></a>?</td> </tr> <tr> Starlite Records : Welcome to Starlite's OnLine Shop and has those files in templates/content/ not like the new version (1 month) SydneyBiz : Welcome to CRX Industrial.com which doesn't have that in source and has them in templates/aabox/ etc. I'm sure I didn't add them from a contrib, then again maybe I did. I have looked at the contribs on osc and oscm but can't find anything there either. The client for the newer crx site wants that facility so somehow I have to add it. Thanks again oz Last edited by ozstar; 04-25-2007 at 02:05 PM. Reason: added extra from source |
|
#4
| |||
| |||
| Is there any way I can put the welcome back there? As I can't find the commented out code, it must have been taken out totally. Anyone know how I can get this back again. A named welcome whenever the customer signs in is what I need. Thanks oz |
|
#5
| |||
| |||
| Ah Haa. It proves, never give up and always look look look again, especially after a cooling off time! Michael suggested the files and I did look, but who knows why I couldn't see it? Anyway, this morning with a fresh mind I decided to look again in the.. /templates/fallback/content/index_default.tpl.php in and what did I see.. Yes !! the commented out 'welcome customer or guest' code! I coulda cried!! This is it and the // was like this.. <td class="main"><?php //php echo tep_customer_greeting(); ?> Removed this.. php // and it worked! <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main"><?php echo tep_customer_greeting(); ?></td> </tr> Thanks again Michael! Made up a Contribution package here osCommerce: Welcome guest-customer greeting oz Last edited by ozstar; 05-05-2007 at 02:59 PM. Reason: left out /content/ dir - also contrib pack |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| customer/guest account | steph07 | osCommerce 2.2 Modification Help | 1 | 03-18-2007 03:07 PM |
| Guest Account v 2.0 | michael_s | New osCommerce Contributions | 0 | 02-15-2007 03:06 PM |
| Welcom Guest! doesn't show | Keilup | osCMax v1.7 Discussion | 1 | 10-28-2004 01:27 PM |
| Who's Online are all Guest | rd42 | osCommerce 2.2 Installation Help | 0 | 01-08-2004 07:26 AM |
| Changing default Guest to something else... | angie201 | osCommerce 2.2 Modification Help | 8 | 12-09-2003 07:51 PM |