quickshot12 Posted May 31, 2009 Share Posted May 31, 2009 Hi, I've got a number one ("1") sitting in the boxheading of the the first box sitting in the column right and column left. Not sure how I managed this as i restored my backups and it didn't get rid of it? I've got images as my boxheadings - if this helps. Anyone know why this is happening or what file to look in? Thanks. Link to comment Share on other sites More sharing options...
steve_s Posted May 31, 2009 Share Posted May 31, 2009 Hi, I've got a number one ("1") sitting in the boxheading of the the first box sitting in the column right and column left. Not sure how I managed this as i restored my backups and it didn't get rid of it? I've got images as my boxheadings - if this helps. Anyone know why this is happening or what file to look in? Thanks. A link to your website would be most helpful Link to comment Share on other sites More sharing options...
quickshot12 Posted May 31, 2009 Author Share Posted May 31, 2009 A link to your website would be most helpful http://shopaspire.com.com Much Appreciated. Link to comment Share on other sites More sharing options...
steve_s Posted May 31, 2009 Share Posted May 31, 2009 http://shopaspire.com.com Much Appreciated. this could be coming from 1 of 2 places <td height="14" class="infoBoxHeading">1</td> either in the boxes themselves includes/boxes/categories.php & shopping_cart.php or includes/classes/boxes.php Link to comment Share on other sites More sharing options...
quickshot12 Posted June 1, 2009 Author Share Posted June 1, 2009 this could be coming from 1 of 2 places<td height="14" class="infoBoxHeading">1</td> either in the boxes themselves includes/boxes/categories.php & shopping_cart.php or includes/classes/boxes.php This is what I thought but <td height="14" class="infoBoxHeading">1</td> does not exist in those two files. I cannot find a out of place 1 in the code. Link to comment Share on other sites More sharing options...
germ Posted June 1, 2009 Share Posted June 1, 2009 Post this portion of your code from /includes/classes/boxes.php class infoBoxHeading extends tableBox { function infoBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false) { $this->table_cellpadding = '0'; if ($left_corner == true) { $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif'); } else { $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif'); } if ($right_arrow == true) { $right_arrow = '<a href="' . $right_arrow . '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>'; } else { $right_arrow = ''; } if ($right_corner == true) { $right_corner = $right_arrow . tep_image(DIR_WS_IMAGES . 'infobox/corner_right.gif'); } else { $right_corner = $right_arrow . tep_draw_separator('pixel_trans.gif', '11', '14'); } $info_box_contents = array(); That's where it's coming from (I think). I'll fix it so it won't. 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 More sharing options...
Jan Zonjee Posted June 1, 2009 Share Posted June 1, 2009 Hi, I've got a number one ("1") sitting in the boxheading of the the first box sitting in the column right and column left. Not sure how I managed this as i restored my backups and it didn't get rid of it? I've got images as my boxheadings - if this helps. Anyone know why this is happening or what file to look in? Would the solution help that the person mentioned posting the same problem in 2003? Link to comment Share on other sites More sharing options...
quickshot12 Posted June 2, 2009 Author Share Posted June 2, 2009 Would the solution help that the person mentioned posting the same problem in 2003? This did solve this issue on the cart box. To clarify, make sure this part is commented out correctly; /includes/classes/boxes.php class infoBoxHeading extends tableBox { function infoBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false) { $this->table_cellpadding = '0'; if ($left_corner == true) { // $left_corner = tep_image(DIR_WS_IMAGES . 'pixel_trans.gif'); } else { // $left_corner = tep_image(DIR_WS_IMAGES . 'pixel_trans.gif'); } if ($right_arrow == true) { $right_arrow = '<a href="' . $right_arrow . '">' . tep_image (DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>'; } else { $right_arrow = ''; } if ($right_corner == true) { // $right_corner = $right_arrow . tep_image(DIR_WS_IMAGES . 'pixel_trans.gif'); } else { // $right_corner = $right_arrow . tep_draw_separator('pixel_trans.gif', '11', '14'); } You also need to adjust the code in /includes/boxes/shopping_cart.php new infoBoxHeading($info_box_contents, false, true, tep_href_link(FILENAME_SHOPPING_CART)); to: new infoBoxHeading($info_box_contents, false, flase, tep_href_link(FILENAME_SHOPPING_CART)); Link to comment Share on other sites More sharing options...
quickshot12 Posted June 2, 2009 Author Share Posted June 2, 2009 So I fixed the shopping_cart infobox showing the "1" but I cannot figure out how to change the categories box. I changed the code from: new infoBoxHeading($info_box_contents, false, true); to: new infoBoxHeading($info_box_contents, false, false); and new infoBoxHeading($info_box_contents, false); but it didn't make and difference - the 1 is still there? Link to comment Share on other sites More sharing options...
germ Posted June 2, 2009 Share Posted June 2, 2009 class infoBoxHeading extends tableBox { function infoBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false) { $this->table_cellpadding = '0'; if ($left_corner == true) { // $left_corner = tep_image(DIR_WS_IMAGES . 'pixel_trans.gif'); } else { // $left_corner = tep_image(DIR_WS_IMAGES . 'pixel_trans.gif'); } $left_corner = ''; [color="#FF0000"][b]<-- ADD THIS LINE[/b][/color] 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 More sharing options...
quickshot12 Posted June 2, 2009 Author Share Posted June 2, 2009 else { // $left_corner = tep_image(DIR_WS_IMAGES . 'pixel_trans.gif'); } $left_corner = ''; [color="#FF0000"][b]<-- ADD THIS LINE[/b][/color] Work perfect, thanks heaps. Thanks everyone - looks like it's all working. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.