Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

remove right column throughout store


flipyou4real

Recommended Posts

In index.php in /catalog/, find the following

 

<!-- right_navigation //-->

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

<!-- right_navigation_eof //-->

 

and change it to

 

<!-- right_navigation //-->

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

<!-- right_navigation_eof //-->

 

that should work - but i haven't tried it myself!

Thanks for any help/comments.

 

Regards,

 

Lewis Hill

Link to comment
Share on other sites

In index.php in /catalog/, find the following

 

<!-- right_navigation //-->

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

<!-- right_navigation_eof //-->

 

and change it to

 

<!-- right_navigation //-->

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

<!-- right_navigation_eof //-->

 

that should work - but i haven't tried it myself!

 

I'm trying to do the same thing - and I've tried this, which will work for the index page. But any of the other pages you open - login, categories, etc - the right column is still there.

 

Basically what I am trying to do is to go to a 2 column - currently left and center - page setup instead of the current 3 column.

 

Thanks-

-dg-

Link to comment
Share on other sites

ok, you will have to do this step for ALL files containing the column right in the catalog folder ... that is a whole bunch, almost 40 I think.

 

find this

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

 

and replace by this:

<?php
/*
   <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>
*/
?>

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

 

Problems with deleting column_right.php in your includes folder is it will probably create an error site wide.

 

Monika has the perfect suggestion which not only eliminates the right column, but equally as important removes the extra right column in the layout of the pages themselves...otherwise you end up with no boxes in the right column, but tons of space.

 

Your best bet is using an HTML editor like Dreamweaver so you can do a global search and replace.

 

Also be sure to BACKUP before you do it.

Sincerely,

Bruce

 

19 contributions submitted

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...