Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Info Box Images


Guest

Recommended Posts

This is one way:

 

click me

 

And a word to the wise.

 

You should always, and I do mean ALWAYS backup any file on your osC site before you edit it.

 

This can save you hours or even days of grief.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

How do I get rid of the corner gifs in the upper right and sometimes left corners of the info boxes? I have deleted the gif images but I can't get rid of the red X on the web site. Thanks

 

Visit My Website

I have found the file to remove the corner_right and corner_left.gif. It is includes/classes/boxes.php.

 

I was able to successfully remove the corner gif's from the info boxes in the right & left columns but when i remove the ones around the New Products box across the bottom, the web page goes blank. I must be taking out to much. Here is the code, how much should I delete?

 

$info_box_contents = array();

$info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"',

'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif')),

array('params' => 'height="14" class="infoBoxHeading" width="100%"',

'text' => $contents[0]['text']),

array('params' => 'height="14" class="infoBoxHeading"',

'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif')));

 

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

}

}

 

Thanks

Link to comment
Share on other sites

click me

 

Post #5

 

Remember to disregard any refererence to /catalog since you have a root install.

 

You'll be looking in /includes/classes/boxes.php

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

I tried that and it left some of the red X's. Here is the code I have where I have completely deleted that part from the code. The way I have it here all the red X's are gone from the right & left columns but are still there in the box across the bottom. Also, somewhere in this code is the code that is responsible for the '1' that is on the left side of GALLERIES and the right side of cart. I can't seem to get rid of these. Can you help me rewrite this code? Thanks so much. If you want to see what I'm referring to here is the link check this out

Link to comment
Share on other sites

click me

 

Do it like that and it will work.

 

Check your code carefully.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...