Remove Entire Left or Right Side ColumnsLast Update: 10th August, 2005
Article ID: 65



Introduction

The left or right side column can be removed entirely from the site layout design by removing the appropriate HTML and PHP code from all files in the main catalog folder only that display a page in the osCommerce installation.

Solution

All files that display a page in the osCommerce installation contain the following HTML and PHP code. Do a search with your editor for the specific code you want to change and change at once.

This code will remove the entire left side column:

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
</table></td>



This code will remove the entire right side column:

<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>

 

 

Trademark Policy | Copyright Policy | Sitemap

Copyright © 2000-2005 osCommerce. All rights reserved.