Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to remove info_box from code


cclayton

Recommended Posts

Can anyone tell me how I can remove the box around the below image? I just want the raw image and not the infobox when the is called using <?php require(DIR_WS_INCLUDES . '/boxes/manufacturer_info.php'); ?>

 

<?php

  $manufacturer_info_string = '';
  if (tep_not_null($manufacturer['manufacturers_url'])) $manufacturer_info_string .= '<a rel="nofollow" href="' . tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_info['products_url']), 'NONSSL', true, false) . '"><img src="images/image1.png" alt="Go to manufacturer" width="139" height="41"></a>';
  $manufacturer_info_string .= '' .
							   '';
  $info_box_contents = array();
  $info_box_contents[] = array('text' => $manufacturer_info_string);
  new infoBox($info_box_contents);
?>

 

Many thanks.

 

Chris

Founder & Director at CSC Tours Ltd

Link to comment
Share on other sites

Hi Chris,

 

Think you are using an older version of osc I mailed you some info that might answer your question.

 

Regards

Joli

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

@@joli1811

 

Thanks for the response, I am using v2.2 - I have nothing in my inbox - have you mailed it to the correct person? Any help you can offer would be greatly appreciated.

 

Kind regards,

 

Chris

Founder & Director at CSC Tours Ltd

Link to comment
Share on other sites

well used the mail address in your profile PDF I picked up years ago about restyling / recoding boxes on the 2 versions

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...