Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change Box Corner Graphics


beanzy

Recommended Posts

Posted

I have been trying to find a way of placing a right corner on the "New Products for Feruary" box on the main page. I have all other boxes change and did so through includes/boxes and changed each file accordingly.

 

How ever, In trying to follow the below instructions from the installation instructions, I have yet to find where the "New Products for Feruary" box is so that I can edit it.

 

What would be the name of the box? And is it located in the includes/boxes folder? I do not have a "New Products for Feruary" box file in this folder.

Any help on this would be much appreciated......

 

*Change Box Corner Graphics

/includes/boxes/eachfile

In the code of each box in the includes/boxes folder you will find this code:

new infoBoxHeading($info_box_contents, false, false);

If you set both from to 'true' your box will get rounded corners on the left and right site.

To change the catalog/advanced_search.php (search box) you will find this code at

about line 160:

false = square corners; true = round corners

new infoBoxHeading($info_box_contents, false, false);

BOX CORNER CHANGES ON SSL_CHECK.PHP & COOKIE_USAGE.PHP:

/catalog/includes/classes/boxes.php about line 117:

This will give you square corners on the right side of these boxes.

Posted

Please disregard this post as I have figured it out.

The file to change is;

 

/public_html/catalog/includes/classes/boxes.php on about line 318

 

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

 

Change too;

 

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

 

This produces a right round corner on the New Products for February box on the main page.

Archived

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

×
×
  • Create New...