Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to remove the right column in index only - V2.3.1


Ezboy

Recommended Posts

Hi guys

 

I wonder if anyone knows how I can remove the right column (boxes) all together from the index page only. V2.3.1 seems to have developed a completely new approach to right/left columns. i.e much more complicated to customise the code for poor programmers like me!

I have looked at the Admin side options for removing boxes but that seems to apply the changes to all the pages. I would like to remove the whole right column in index page only and I can't find the code in index.php which calls in the right column. By removing the right column, I want the main content to stretch all the way to the right edge of the page.

 

The right column seems to have two separate formats. One for the product information page and another shorter version with fewer boxes for all the other pages. Am I right??

 

Thanks for your help in advance.

Link to comment
Share on other sites

  • 2 months later...

if you want to remove right column from the index page only you can use this code.....

check whether the page is index page or not ..

if($_SERVER['PHP_SELF']=='index.php')

{

remove right column

}

 

Hi guys

 

I wonder if anyone knows how I can remove the right column (boxes) all together from the index page only. V2.3.1 seems to have developed a completely new approach to right/left columns. i.e much more complicated to customise the code for poor programmers like me!

I have looked at the Admin side options for removing boxes but that seems to apply the changes to all the pages. I would like to remove the whole right column in index page only and I can't find the code in index.php which calls in the right column. By removing the right column, I want the main content to stretch all the way to the right edge of the page.

 

The right column seems to have two separate formats. One for the product information page and another shorter version with fewer boxes for all the other pages. Am I right??

 

Thanks for your help in advance.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...