Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing the left and right menu columns...


HighWire700

Recommended Posts

Posted

Wondering if anyone can direct me how to *deactivate* the column_right.php and column_left.php content so that the main area takes up the entire width of the page.

 

The clincher is that I only want to remove them for certain pages. Most specifically the checkout pages and for pages that would otherwise be listed in the Information infobox. Is there a contribution for this? Is it a simple script addition. Any help is appreciated, thanks!

Posted

It's not a script addition, it's a script removal on the pages you don't want them to appear on.

 

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

 

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

 

Vger

Posted

I apologize, I should've clarified this earlier. I am using the BTS system and that particular snippet becomes applied to ALL pages based on the "main_page.tpl.php" template file. Does anyone know a solution for this problem while using the BTS system?

Archived

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

×
×
  • Create New...