[email protected] Posted February 9, 2004 Share Posted February 9, 2004 How can i remove the header and the footer from oscommerce? Thanks Link to comment Share on other sites More sharing options...
241 Posted February 9, 2004 Share Posted February 9, 2004 the call to header is this <?php require(DIR_WS_INCLUDES . 'header.php'); ?> and the call to footer is this <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> change all instances by placing // before the require( as this <?php //require 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. Link to comment Share on other sites More sharing options...
[email protected] Posted February 9, 2004 Author Share Posted February 9, 2004 Steve thanks for the answer It is necessery to make those changes to all files? Is it something more simple? Thanks Link to comment Share on other sites More sharing options...
sovereignty Posted February 9, 2004 Share Posted February 9, 2004 How does one just "edit" the header and footer? I just installed yesterday for the first time. I've been browsing around the files (since I didn't find anything in the admin area) and haven't found any html coding directly relating to the images/text in the header and footer. Thx B) Link to comment Share on other sites More sharing options...
[email protected] Posted February 9, 2004 Author Share Posted February 9, 2004 <?php //require(DIR_WS_INCLUDES . 'header.php'); ?> <?php //require(DIR_WS_INCLUDES . 'footer.php'); ?> Okey I just replace all root files and it works fine, but is very hard. So If i want to keep the header navigation bar what can i do for this? Thanks again. Link to comment Share on other sites More sharing options...
Guest Posted February 9, 2004 Share Posted February 9, 2004 You take this code from catalog/includes/header.php <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> and you place it where you need it The_Bear Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.