Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Using STS, How can I remove box headings


eddiev2001

Recommended Posts

Hello,

 

I'm using STS v.4.1 and would like to have the headings from each box removed. Every box is coming up with the heading along with 2 images . You may look here for reference

 

http://www.ottawajunk.com/styles/index.php

 

Thanks for the help !

 

I am working on a new project and have the same issue. I would appreciate the answer also.

 

Guy

Link to comment
Share on other sites

Hey, I figured out how to get rid of it but I do not know if I screwed anything up. I will be testing a lot before it goes live but you need to go to catalog/includes/classes/boxes.php. In there, I found the code referencing the left and right corner gif's and then I identified which one was for the info boxes. First I tried erasing the whole section but that messed it up. I put it back and erase some part of it. I am not a php programmer so I will give this advice as something that worked for me (at top level appearances) and you should try it at your own risk. I did backup the files in case there was no fixing it.

 

 

class infoBoxHeading extends tableBox {
function infoBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false) {
  $this->table_cellpadding = '0';

  $info_box_contents = array();


  $this->tableBox($info_box_contents, true);
}
 }

 

I can't tell you what I removed but this is what I kept in the section. It worked for me but I was taking chances in the dark. In the section that I removed, I do not know if there is something important.

 

Good luck with it. I hope this was it.

 

Guy

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...