capsulas Posted November 20, 2003 Posted November 20, 2003 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
Guest Posted November 20, 2003 Posted November 20, 2003 /catalog/includes/images/infobox/ they are images, so you will have to make a new image and place it in there
berkedam Posted November 20, 2003 Posted November 20, 2003 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."
Recommended Posts
Archived
This topic is now archived and is closed to further replies.