Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add Extra Bar on Home Page


timmer81

Recommended Posts

Posted

Hi there,

 

Underneath where the header there is a bar that contains Home, checkout cart contents etc, bascially I want to create another bar underneath and I will sandwich inbetween links to relevant places.

 

So my question is how do I create the bar itself?

 

Thanks in advance

 

Tim

Posted

In catalog/includes/header.php

 

find:

 

<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>

</tr>

 

immediately following

 

add:

 

<tr class="headerNavigation">

<td class="headerNavigation"> Place any content here </td>

</tr>

Posted

In catalog/includes/header.php

 

find:

 

<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>

</tr>

 

immediately following

 

add:

 

<tr class="headerNavigation">

<td class="headerNavigation"> Place any content here </td>

</tr>

 

Hi there,

 

Thank you for your reply. Once I have done the above can I just sandwich the links I want to put in, between the two??

 

Regards

 

Tim

Posted

Actually, instead of adding as I suggested, try adding it like this:

 

<tr>

<td> Your Links Here </td>

</tr>

<tr class="headerNavigation">

<td class="headerNavigation"> Other Content Here </td>

</tr>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...