Jaskaran Posted November 18, 2009 Share Posted November 18, 2009 Hello Friends..i need a quick reply I want to display "Firstname" or "email" of customer in Header.php after login on my site. how i can do it?? All replies would be apperciate..thanks!! Link to comment Share on other sites More sharing options...
usernamenone Posted November 18, 2009 Share Posted November 18, 2009 move the code from the index.php to anywhere you want it. <?php echo tep_customer_greeting(); ?> You will need to give it a style. Modify includes>languages>english.php lines 284 to 286 to what you want to say. Link to comment Share on other sites More sharing options...
Jaskaran Posted November 19, 2009 Author Share Posted November 19, 2009 Thanks for reply Lola!! But i want to display "name" or "email" of customer which he/she uses for login on my site.. Just Like when you Login on my site..A Quote will disply "Welcome Lola".. Link to comment Share on other sites More sharing options...
reffer101 Posted November 19, 2009 Share Posted November 19, 2009 Well that's a cool effect well Jaskaran if you got that technique can u please share with me, just PM me. _______________________ Breil Watches | Oris Watches Link to comment Share on other sites More sharing options...
Jaskaran Posted November 19, 2009 Author Share Posted November 19, 2009 Sure Sonix!! Link to comment Share on other sites More sharing options...
usernamenone Posted November 19, 2009 Share Posted November 19, 2009 Well, that's exactly how that code works. Before they Log in My guest code just says "Hello". Then when they log in it says It says "Hello Lola What can I help you find today?" and is linked to advanced search. Link to comment Share on other sites More sharing options...
Xpajun Posted November 19, 2009 Share Posted November 19, 2009 You need to add: echo '<strong>' . HEADER_LOGIN_TITLE_GREETING . ' ' . $customer_first_name . '</strong>'; within a cell in your header First bit shows the greeting and the second the customer's first name My store is currently running Phoenix 1.0.3.0 I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 ) I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary Link to comment Share on other sites More sharing options...
Jaskaran Posted November 19, 2009 Author Share Posted November 19, 2009 A big Thanks To Julian! n Lola!!..Its Working! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.