wangchao Posted August 13, 2005 Posted August 13, 2005 Hi, guys, I have someone to tailed a website at http://www.esilk.biz/ The website looks great at the first glance. However, I found something has to be improved. The problem is about the login box. It is cool for visitor's first impression. However, it looks a little stupid after the user logged in. The user can log in for another time after she/he is logged in? I am afraid this would give the visitors some negative psychological effect. So, I'd like to make some change to HIDE the login box/Register/Forgot PIN items. Instead, I will show something like "Smith, you have logged in, click here to logout", after some one actually logged in. Can someone give me some ideas? Thank you Wang Chao -David Wang
Guest Posted August 14, 2005 Posted August 14, 2005 I cant see your code, but you can control what you show like this: if (!tep_session_is_registered('customer_id')) { echo 'login stuff'; } else { echo 'something else'; }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.