Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where can I find the file ...?


capsulas

Recommended Posts

  Where can I find the code to modify the left and right corner of products of the month?

I just want to change to square corner to round corner... thanks 

 

The /infobox/ directory is the wrong one.

 

Use this file: boxes.php

 

change this: (around line 170)

class contentBoxHeading extends tableBox {

function contentBoxHeading($contents) {

$this->table_width = '100%';

$this->table_cellpadding = '0';

 

$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);

}

}

 

into:

 

class contentBoxHeading extends tableBox {

function contentBoxHeading($contents) {

$this->table_width = '100%';

$this->table_cellpadding = '0';

 

$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.gif')));

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

}

}

 

The change:

infobox/corner_right_left.gif'

is changed to:

infobox/corner_right.gif

 

hth

"If you're working on something new, then you are necessarily an amateur."

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...