Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

unwanted image


huggettm

Recommended Posts

im not sure what iv done but when i look at one of the 'catagories' table it tries to load an image in the to right coner above the table - altho there isnt one to load. does anyone know where i can edit this?

 

 

 

thanks

 

 

mark

Link to comment
Share on other sites

im not sure what iv done but when i look at one of the 'catagories' table it tries to load an image in the to right coner above the table - altho there isnt one to load. does anyone know where i can edit this?

thanks

mark

 

well, there is usually a true or false statement on the heading (in boxes/categories.php), something like:

 

new infoBoxHeading($info_box_contents, false, false);

 

you'll find the related function infoBoxHeading in the catalog/includes/classes/boxes.php file

 

I cant remember which one it is, but if you make them both false this should do the trick.

 

these false statement related to the following part of the infoBoxHeading function:

 

if ($left_corner == true) {
	$left_corner = tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif');
  } else {
	$left_corner = tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif');
  }
  if ($right_arrow == true) {
	$right_arrow = '<a href="' . $right_arrow . '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>';
  } else {
	$right_arrow = '';
  }
  if ($right_corner == true) {
	$right_corner = $right_arrow . tep_image(DIR_WS_IMAGES . 'infobox/corner_right.gif');
  } else {
	$right_corner = $right_arrow . tep_draw_separator('pixel_trans.gif', '11', '14');
  }

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...