Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi guys i have just installed this contrubition, abd all seems good apart from i seem to have tow menu systems now at the top of my site. These come from the header.php but i have checked and checked the insatllation but cant see what i have done wrong...

 

the area where i think that it is in my header.php is:

?>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr class="header">
   <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'Wi-Fi Gear') . '</a>'; ?> </td>
   <td align="right" valign="middle"><b><font color="#FFFFFF" size="5">0845 000 XXX    </font></b></td><tr></table>
<table border="0" width="100%" cellspacing="0" cellpadding="1">
 <tr class="headerNavigation">
   <td class="headerNavigation">  <?php echo $breadcrumb->trail(' » '); ?></td>
   <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>
 
<?php if ((tep_session_is_registered('customer_id')) && (!tep_session_is_registered('noaccount'))) 
// DDB - PWA - 040622 - no display of logoff for PWA customers
  { ?>
    	 <a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?> 
     </a>  |  
     <?php } ?>

     <?php if (!tep_session_is_registered('noaccount')) // DDB - PWA - 040622 - no display of account for PWA customers
  { ?>
    	 <a href="<?php echo tep_href_link(FILENAME_ACCOUNT, 'my_account_f=1', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?>      </a>  |  
  <?php } ?>

 <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> 
      |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?> | </a></td>
 </tr>
</table>
<?php

my site is at http://www.yourwirelessworld.co.uk its not live yet so have a play, you will see the new menu under my logo. the only difference i can see that it perfroms is that the new My account which has a href of account.php?=my_account_f=1. this is different to the normal my account link.

 

Can anyone point me in the right direction..

 

cheers

Posted
Hi guys i have just installed this contrubition, abd all seems good apart from i seem to have tow menu systems now at the top of my site.  These come from the header.php but i have checked and checked the insatllation but cant see what i have done wrong...

 

the area where i think that it is in my header.php is:

?>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
?<tr class="header">
? ?<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'Wi-Fi Gear') . '</a>'; ?> </td>
? ?<td align="right" valign="middle"><b><font color="#FFFFFF" size="5">0845 000 XXX    </font></b></td><tr></table>
<table border="0" width="100%" cellspacing="0" cellpadding="1">
?<tr class="headerNavigation">
? ?<td class="headerNavigation">  <?php echo $breadcrumb->trail(' » '); ?></td>
? ?<td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>
?
<?php if ((tep_session_is_registered('customer_id')) && (!tep_session_is_registered('noaccount'))) 
// DDB - PWA - 040622 - no display of logoff for PWA customers
? { ?>
? ? ?	<a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?> 
? ? ?</a>  |  
? ? ?<?php } ?>

? ? ?<?php if (!tep_session_is_registered('noaccount')) // DDB - PWA - 040622 - no display of account for PWA customers
? { ?>
? ? ?	<a href="<?php echo tep_href_link(FILENAME_ACCOUNT, 'my_account_f=1', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?> ? ? ?</a>  |  
? <?php } ?>

?<a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> 
? ? ? |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?> | </a></td>
?</tr>
</table>
<?php

my site is at http://www.yourwirelessworld.co.uk  its not live yet so have a play, you will see the new menu under my logo. the only difference i can see that it perfroms is that the new My account which has a href of account.php?=my_account_f=1. this is different to the normal my account link.

 

Can anyone point me in the right direction..

 

cheers

 

Sorry posted this is the wrong place..

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...