roxoride Posted March 9, 2007 Posted March 9, 2007 I lose the stylesheet attributes on my categories table when i click on "my account" Can anyone tell me how to fix this? the site is www.roxorideshop.com
omar2886 Posted March 9, 2007 Posted March 9, 2007 As I can see, there is all right. Have you fixed the problem?
omar2886 Posted March 9, 2007 Posted March 9, 2007 First, be sure that there are still in the images box. Then, tell me, have you changed something in the any file inside boxes or classes folders?
roxoride Posted March 9, 2007 Author Posted March 9, 2007 yeah i was foolin around with the classes> boxes.php file.. this is my code for categories.. i was trying to comment out the images //New CategoriesBox Class class CategoriesBox extends tableBox { function CategoriesBox($contents) { $info_box_contents = array(); $info_box_contents[] = array('text' => $this->CategoriesBoxContents($contents)); $this->table_cellpadding = '1'; $this->table_parameters = 'class="CategoriesBox"'; $this->tableBox($info_box_contents, true); } function CategoriesBoxContents($contents) { $this->table_cellpadding = '3'; $this->table_parameters = 'class="CategoriesBoxContents"'; $info_box_contents = array(); $info_box_contents[] = array(array('text' => tep_draw_separator(''))); for ($i=0, $n=sizeof($contents); $i<$n; $i++) { $info_box_contents[] = array(array('align' => $contents[$i]['align'], 'form' => $contents[$i]['form'], 'params' => 'class="CategoriesBoxContents"', 'text' => $contents[$i]['text'])); } $info_box_contents[] = array(array('text' => tep_draw_separator(''))); return $this->tableBox($info_box_contents); } } class CategoriesBoxHeading extends tableBox { function CategoriesBoxHeading($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 . ''); } else { $left_corner = tep_image(DIR_WS_IMAGES . ''); } if ($right_arrow == true) { $right_arrow = '<a href="' . $right_arrow . '">' . tep_image(DIR_WS_IMAGES . '', ICON_ARROW_RIGHT) . '</a>'; } else { $right_arrow = ''; } if ($right_corner == true) { $right_corner = $right_arrow . tep_image(DIR_WS_IMAGES . ''); } else { $right_corner = $right_arrow . tep_draw_separator(''); } $info_box_contents = array(); $info_box_contents[] = array(array('params' => 'height="14" class="CategoriesBoxHeading"', 'text' => $left_corner), array('params' => 'width="100%" height="14" class="CategoriesBoxHeading"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="CategoriesBoxHeading" nowrap', 'text' => $right_corner)); $this->tableBox($info_box_contents, true);
roxoride Posted March 9, 2007 Author Posted March 9, 2007 Nevermind solved my own problem it was some wrong code in the boxes> categories.php file..thanks for the help! i appreciated it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.