osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Welcome Guest and Name missing

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 04-24-2007, 10:08 PM
Active Member
 
Join Date: Nov 2002
Location: Sydney
Posts: 124
Thanks: 10
Thanked 0 Times in 0 Posts
Rep Power: 6
ozstar is on a distinguished road
Default Welcome Guest and Name missing

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>?');
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 04-25-2007, 09:07 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,329
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Welcome Guest and Name missing

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


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to michael_s For This Useful Post:
ozstar (05-05-2007)
  #3  
Old 04-25-2007, 01:53 PM
Active Member
 
Join Date: Nov 2002
Location: Sydney
Posts: 124
Thanks: 10
Thanked 0 Times in 0 Posts
Rep Power: 6
ozstar is on a distinguished road
Default Re: Welcome Guest and Name missing

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 05-02-2007, 03:25 AM
Active Member
 
Join Date: Nov 2002
Location: Sydney
Posts: 124
Thanks: 10
Thanked 0 Times in 0 Posts
Rep Power: 6
ozstar is on a distinguished road
Default Re: Welcome Guest and Name missing

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 05-05-2007, 02:45 PM
Active Member
 
Join Date: Nov 2002
Location: Sydney
Posts: 124
Thanks: 10
Thanked 0 Times in 0 Posts
Rep Power: 6
ozstar is on a distinguished road
Default Re: Welcome Guest and Name missing

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 09:49 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax