Cyber-Drugs Posted July 21, 2004 Posted July 21, 2004 Hi, My website is www.cyber-lane.co.uk/Online I want to make an alteration, so that when the user is not signed in, the email and password and signin button are displayed in their current location. But when the user IS signed in, I want it to display the name of the user signed in, and the signout button. Could someone gimme a hand here? My current signin code is this: <td width="350" align="center" valign="middle"> <?php echo tep_draw_input_field('email_address'); ?> <?php echo tep_draw_password_field('password'); ?> <?php echo tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN); ?> </td> Thanks guys :) Cyber-Drugs B)
241 Posted July 23, 2004 Posted July 23, 2004 on your other question catalog/includes/boxes/categories.php comment out this code $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES); new infoBoxHeading($info_box_contents, true, false); like so // $info_box_contents = array(); // $info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES); // new infoBoxHeading($info_box_contents, true, false); then in catalog/includes/classes/boxes.php class infoBox extends tableBox { function infoBox($contents) { $info_box_contents = array(); $info_box_contents[] = array('text' => $this->infoBoxContents($contents)); $this->table_cellpadding = '1'; $this->table_parameters = 'class="infoBox"'; $this->tableBox($info_box_contents, true); } change the 1 to a 0 No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.