Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how do i comment out pictures?


Guest

Recommended Posts

Posted

I am trying to eliminate those tacky little image icons in the upper right section of my pages.

i found one of the images in the code below. how do i comment these out?

 

this is the code in my "catalog/index.php":

 

// Get the right image for the top-right
  $image = DIR_WS_IMAGES . 'table_background_list.gif';
if (isset($HTTP_GET_VARS['manufacturers_id'])) {
 $image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'");
 $image = tep_db_fetch_array($image);
  $image = $image['manufacturers_image'];
  } elseif ($current_category_id) {
 $image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'");
 $image = tep_db_fetch_array($image);
 $image = $image['categories_image'];
}

Posted

<?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?>

 

Change to

 

<?php //echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?>

 

 

The addition of the //

Archived

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

×
×
  • Create New...