Guest Posted January 31, 2007 Share Posted January 31, 2007 How do you romove right column entirely to leave more room for content Link to comment Share on other sites More sharing options...
Guest Posted January 31, 2007 Share Posted January 31, 2007 http://www.oscommerce.info/kb/osCommerce/Catalog_Area/Boxes The_Bear Link to comment Share on other sites More sharing options...
warrenerjm Posted January 31, 2007 Share Posted January 31, 2007 How do you romove right column entirely to leave more room for content Amanda (Boxtel) told me this one... hope I relay it right! In the root, in all the pages that the following appears (about 40) change <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> hope I typed that right as I don't have it any more, but is at the end of the file. and replace it with this: <?php if (SHOW_RIGHT_COLUMN) { echo '<td valign="top"> <table border="0" width="' . BOX_WIDTH . 'px" cellspacing="0" cellpadding="2">'; require(DIR_WS_INCLUDES . 'column_right.php'); echo '</table> </td>'; } ?> In catalog/includes/application_top.php add define('SHOW_RIGHT_COLUMN', false); If you choose to later have a column right, just change the false to true. It worked for me. Just remember when you do any new contributions that create a new page or if you create a new page yourself, do the above to these new pages too. Julie Link to comment Share on other sites More sharing options...
Guest Posted November 8, 2007 Share Posted November 8, 2007 It works perfect, wonder why this isn't part of OS Commerce itself. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.