Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2010
    Posts
    19
    Plugin Contributions
    0

    Default Customers username in header

    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.

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

  3. #3
    Join Date
    Jun 2010
    Posts
    19
    Plugin Contributions
    0

    Default Re: Customers username in header

    Thanks for the response. I saw this post. How would i output the variables??

  4. #4
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Customers username in header

    copy this from /includes/templates/template_default/templates/tpl_index_default.php:

    Code:
    <?php if (SHOW_CUSTOMER_GREETING == 1) { ?>
    <h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2>
    <?php } ?>
    paste in /includes/templates/YOUR_TEMPLATE/common/tpl_header.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.

  5. #5
    Join Date
    Sep 2011
    Posts
    2
    Plugin Contributions
    0

    Default Re: Customers username in header

    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!

  6. #6
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Customers username in header

    Glad this worked for you!

 

 

Similar Threads

  1. v153 Username
    By pageblair in forum General Questions
    Replies: 0
    Last Post: 8 Sep 2014, 11:57 PM
  2. v139h Send email to all customers with header and footer question?
    By dustbowl in forum General Questions
    Replies: 2
    Last Post: 31 Jul 2012, 12:43 PM
  3. email logo header.jpg not displaying on IE 8 for hotmail customers
    By itseemedsosimple in forum General Questions
    Replies: 6
    Last Post: 21 Sep 2009, 01:22 AM
  4. customers name on header
    By 100asa in forum General Questions
    Replies: 1
    Last Post: 29 Nov 2008, 06:42 PM
  5. view customers username and password
    By fontuna in forum Managing Customers and Orders
    Replies: 14
    Last Post: 3 Mar 2007, 02:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg