Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

remove header and footer


panstocks@hotmail.com

Recommended Posts

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! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

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

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

Archived

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

×
×
  • Create New...