Anyone have any ideas on this?. I've looked everywhere, and can't seem to find how i would do this.
I have tried using the code from the welcome message, but with no luck.
Anyone have any ideas on this?. I've looked everywhere, and can't seem to find how i would do this.
I have tried using the code from the welcome message, but with no luck.
Mick,
This thread should answer your question ..
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting
Thanks for the response. I saw this post. How would i output the variables??
copy this from /includes/templates/template_default/templates/tpl_index_default.php:
paste in /includes/templates/YOUR_TEMPLATE/common/tpl_header.phpCode:<?php if (SHOW_CUSTOMER_GREETING == 1) { ?> <h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2> <?php } ?>
then copy these from /includes/languages/english/index.php
Code:define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');Code:define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?');
place it in or create new file /includes/languages/english/extra_definitions/header.php
Hope this helps!
Last edited by rbarbour; 11 Mar 2011 at 07:13 PM.
This definitely works for me! I was having the system showing me TEXT_GREETING_GUEST literally and almost drove me crazy figuring what to do next. Thank you very much!
Glad this worked for you!