timmer81 Posted June 5, 2010 Posted June 5, 2010 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
Guest Posted June 5, 2010 Posted June 5, 2010 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>
timmer81 Posted June 6, 2010 Author Posted June 6, 2010 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
Guest Posted June 6, 2010 Posted June 6, 2010 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>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.