Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with hiding Categories infobox


Guest

Recommended Posts

Hi, I'd like to hide the categories infobox on only the index page.

 

I have the frontpage categories contribution installed, so it displays the categories in the center of the homepage (index.php), and so i have no use for the traditional categories infobox on the main page.

 

What is the code that should go in includes/column_left.php to hide the regular categories infobox on only the index page?

 

Thanks in advance for anyone who can help me.

 

-George

[email protected]

Link to comment
Share on other sites

if ((basename($PHP_SELF) != FILENAME_DEFAULT)||($category_depth != "top")) {
  if ((USE_CACHE == 'true') && empty($SID)) {
     echo tep_cache_categories_box();
  }
  else {
     include(DIR_WS_BOXES . 'categories.php');
  }
}

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...