Overdog Posted December 7, 2003 Share Posted December 7, 2003 I would like to rmove the links form the header I am running MS 2.2 How would I do this .. I would like to use the images above the links as they will be custom graphics I am making I have found the code in the header file when I comment it out I loose the pics too how can I just remove the header links and leave the images above intact so I can use that for nav .. Thanks ! Link to comment Share on other sites More sharing options...
aldaffodil Posted December 7, 2003 Share Posted December 7, 2003 You can try this (I'm not sure if it will work, I didn't test it) Open catalog > includes > languages > english.php And comment out the following lines: define('HEADER_TITLE_CREATE_ACCOUNT', 'Create an Account');define('HEADER_TITLE_MY_ACCOUNT', 'My Account'); define('HEADER_TITLE_CART_CONTENTS', 'Cart Contents'); define('HEADER_TITLE_CHECKOUT', 'Checkout'); (It is lines 51-54 for me) Hope this helps. Link to comment Share on other sites More sharing options...
chfields Posted December 7, 2003 Share Posted December 7, 2003 Actually, you can remove that from header.php Link to comment Share on other sites More sharing options...
moonstone Posted December 8, 2003 Share Posted December 8, 2003 open up catalog/includes/header.php, around lines 63 - 64, search for: <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> To remove My Account | Cart Contents | Checkout, change to: <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> </td> If you want to remove even the Log Off link, change to: <td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td> <td align="right" class="headerNavigation"> </td> Hope this is want you wanted... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.