Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove Entire Column (Quick)


sklarbodds

Recommended Posts

Sorry if this has already been answered, but I've been searching for about an hour and have been unable to find it.

 

I've been working on a site (http://www.sdshots.com/gallery/)

 

For most of the pages, I've just gone into the proper .php file and commented around the right column section and that works fine, but I'm getting a little tired of doing that for each and every page.

 

Is there a way to 'blanket' remove all right columns on the site? Also, is there a way to change the cellpadding on each of the main tables (another change I've had to do on each page).

 

Please help.

 

Skylar :thumbsup:

Link to comment
Share on other sites

I'd be interested in this too. There is an old contribution called Column Controller, but one version is marked as obsolete and the other says its missing a file. Is there another contribution that will handle this?

Link to comment
Share on other sites

Nope and nope. You have to edit each page to remove the column and the cellpadding on the MAIN tables. The boxes cellpadding is controlled in catalog/includes/classes/boxes.php

 

Column controller (I believe but could be wrong) after installing just allows you to move things from one side to the other... as far as I know it only makes a column not show up, but the code is still on the pages so you will have a space where the column should be but I could be mistaken. Even if it works you would still have to edit every page so it doesn't make it quicker in any way.

 

Editing all of the pages to remove one of the columns shouldn't take but 10 minutes at the most since the code is the same on all of the pages. Very easy to find and remove.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Nope and nope. You have to edit each page to remove the column and the cellpadding on the MAIN tables. The boxes cellpadding is controlled in catalog/includes/classes/boxes.php

 

Column controller (I believe but could be wrong) after installing just allows you to move things from one side to the other... as far as I know it only makes a column not show up, but the code is still on the pages so you will have a space where the column should be but I could be mistaken. Even if it works you would still have to edit every page so it doesn't make it quicker in any way.

 

Editing all of the pages to remove one of the columns shouldn't take but 10 minutes at the most since the code is the same on all of the pages. Very easy to find and remove.

 

 

Thank you anyway. I can do it, I just have 3 different sites to setup so I'm a little overwhelmed.

 

Skylar

Link to comment
Share on other sites

So just edit the columns out of the first one and use those pages to make your second and third site. :)

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...