jlewis01 Posted October 13, 2005 Posted October 13, 2005 i have seen on other live cart pages where they have included a login box in the right column, how do i do that?
Guest Posted October 13, 2005 Posted October 13, 2005 i have seen on other live cart pages where they have included a login box in the right column, how do i do that? Theres a contribution that does this, search the contribution area and youll find it.
izack1981 Posted June 20, 2008 Posted June 20, 2008 Hi guys! I want to make the login box.. when customer logs in the box change from login to display the customer name and a log out button. Does anyone know how to do this? Are there any contribution I can use? Thanks so much :wub: B) ^_^ "I am not a Newbie but I am not an Expert either..." "Lets learn about osCommerce together!..."
izack1981 Posted June 20, 2008 Posted June 20, 2008 Never mind..I have found what I've been looking for. If anyone want a login box that shows the member's name, Go here. "I am not a Newbie but I am not an Expert either..." "Lets learn about osCommerce together!..."
izack1981 Posted June 20, 2008 Posted June 20, 2008 Having a small problem with the loginbox. Can anyone help me? <!-- loginbox //--> <?php if (!tep_session_is_registered('customer_id')) { ?> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => BOX_LOGINBOX_HEADING ); new infoBoxHeading($info_box_contents, false, false); $loginboxcontent = " <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\"> <form name=\"login\" method=\"post\" action=\"" . tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL') . "\"> <tr> <td align=\"left\" class=\"main\"> " . BOX_LOGINBOX_EMAIL . " </td> </tr> <tr> <td align=\"left\" class=\"main\"> <input type=\"text\" name=\"email_address\" maxlength=\"96\" size=\"20\" value=\"\"> </td> </tr> <tr> <td align=\"left\" class=\"main\"> " . BOX_LOGINBOX_PASSWORD . " </td> </tr> <tr> <td align=\"left\" class=\"main\"> <input type=\"password\" name=\"password\" maxlength=\"40\" size=\"20\" value=\"\" </td> </tr> <tr> <td class=\"main\" align=\"center\"> " . tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN) . " </td> </tr> </form> </table> "; $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => $loginboxcontent ); new infoBox($info_box_contents); ?> </td> </tr> <?php } else { // If you want to display anything when the user IS logged in, put it // in here... Possibly a "You are logged in as :" box or something. } ?><!-- loginbox_eof //--> What is the code to display "You are logged in as : Member's Name" ?? Any help would be much appreciated. Thanks :rolleyes: :wub: "I am not a Newbie but I am not an Expert either..." "Lets learn about osCommerce together!..."
Recommended Posts
Archived
This topic is now archived and is closed to further replies.