Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Footer not displaying...


reggiewjr1

Recommended Posts

Posted

OK, on this new osC site I just set up I 'commented' out the right column to make my center column the full width...

 

But I just noticed that my footer is no longer being displayed...

 

Couple notes:

 

1. I did do some other formatting of pages but nothing I thought would have to do with this, so I didn't noticed it right away....

 

2. Here's sample code from my index page:

 

<!-- body_text_eof //-->
<!-- <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
</table></td> //-->
 </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

 

 

3. When I pull a 'view page source' I get this:

 

	  </tr>
</table></td>
<!-- body_text_eof //-->
<!-- <td width="125" valign="top"><table border="0" width="125" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->

 

 

What throws me off is that the code just 'ends' after the <!-- right_navigation_eof //--> in the view page source....

Posted

just comment out the require function

 

<?php //require(DIR_WS_INCLUDES . 'column_right.php'); ?>

 

easy and simple

Thanks in advance!

 

Ben

Archived

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

×
×
  • Create New...