Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ommitting manufactures box


precisiondrive

Recommended Posts

according to the knowledge base I simply comment out

 

http://www.oscommerce.info/kb/osCommerce/C...g_Area/Boxes/66

 

To remove the What's New box, it's inclusion needs to be commented out or removed entirely:

 

 

<?php
 require(DIR_WS_BOXES . 'categories.php');
 require(DIR_WS_BOXES . 'manufacturers.php');
 require(DIR_WS_BOXES . 'whats_new.php');
 require(DIR_WS_BOXES . 'search.php');
 //require(DIR_WS_BOXES . 'my_new_box.php');
 require(DIR_WS_BOXES . 'information.php');
?>

 

my code is below, when I simply comment out this line

 //include(DIR_WS_BOXES . 'manufacturers.php');

 

it does not omit it. Any help would be greatly appreciated

 

<?php
/*
 $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2003 osCommerce

 Released under the GNU General Public License
*/

 if ((USE_CACHE == 'true') && empty($SID)) {
   echo tep_cache_categories_box();
 } else {
   include(DIR_WS_BOXES . 'categories.php');
 }

 if ((USE_CACHE == 'true') && empty($SID)) {
   echo tep_cache_manufacturers_box();
 } else {
   //include(DIR_WS_BOXES . 'manufacturers.php');
 }

 require(DIR_WS_BOXES . 'whats_new.php');
 require(DIR_WS_BOXES . 'search.php');
 require(DIR_WS_BOXES . 'information.php');
?>

Link to comment
Share on other sites

according to the knowledge base I simply comment out

 

http://www.oscommerce.info/kb/osCommerce/C...g_Area/Boxes/66

 

To remove the What's New box, it's inclusion needs to be commented out or removed entirely:

<?php
 require(DIR_WS_BOXES . 'categories.php');
 require(DIR_WS_BOXES . 'manufacturers.php');
 require(DIR_WS_BOXES . 'whats_new.php');
 require(DIR_WS_BOXES . 'search.php');
 //require(DIR_WS_BOXES . 'my_new_box.php');
 require(DIR_WS_BOXES . 'information.php');
?>

 

my code is below, when I simply comment out this line

 //include(DIR_WS_BOXES . 'manufacturers.php');

 

it does not omit it. Any help would be greatly appreciated

 

<?php
/*
 $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2003 osCommerce

 Released under the GNU General Public License
*/

 if ((USE_CACHE == 'true') && empty($SID)) {
   echo tep_cache_categories_box();
 } else {
   include(DIR_WS_BOXES . 'categories.php');
 }

 if ((USE_CACHE == 'true') && empty($SID)) {
  echo tep_cache_manufacturers_box();
 } else {
 //include(DIR_WS_BOXES . 'manufacturers.php');
 }

 require(DIR_WS_BOXES . 'whats_new.php');
 require(DIR_WS_BOXES . 'search.php');
 require(DIR_WS_BOXES . 'information.php');
?>

 

 

 

try commenting out the whole thing ... as below

 

 

<?php
/*
$Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions
[url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

Copyright © 2003 osCommerce

Released under the GNU General Public License
*/

if ((USE_CACHE == 'true') && empty($SID)) {
echo tep_cache_categories_box();
} else {
include(DIR_WS_BOXES . 'categories.php');
}

 //if ((USE_CACHE == 'true') && empty($SID)) {
 // echo tep_cache_manufacturers_box();
 //} else {
 //include(DIR_WS_BOXES . 'manufacturers.php');
 //}

require(DIR_WS_BOXES . 'whats_new.php');
require(DIR_WS_BOXES . 'search.php');
require(DIR_WS_BOXES . 'information.php');
?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...