warrenerjm Posted March 27, 2006 Posted March 27, 2006 Hi I have done the following: To optionally change the look of the box (make it look plain by removing the table header and borders.) open includes/boxes/product_notifications.php Find the lines: $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_NOTIFICATIONS); new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_ACCOUNT_NOTIFICATIONS, '', 'SSL')); Replace with: // $info_box_contents = array(); //$info_box_contents[] = array(); // ('text' => BOX_HEADING_NOTIFICATIONS); //new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_ACCOUNT_NOTIFICATIONS, '', 'SSL')); but get the error: Parse error: parse error, unexpected ')' in /home/acard4uuk/public_html/shop/includes/boxes/product_notifications.php on line 22 I don't know what ')' is wrong or what I should change it to? Please could you tell me what to correct. Thank you Julie
warrenerjm Posted March 27, 2006 Author Posted March 27, 2006 Hello everyone I still haven't been able to find out how to resolve this. The whole contribution works & this is only to remove the header & edges of the notification box, which is (or should be) inside the product listing & not in the right column. I don't have to do this if I can't get an answer for this, but I would like to try. Thanks Julie
Guest Posted March 27, 2006 Posted March 27, 2006 There should be more instructions in that contribution - - the instructions as you've posted them tell you to comment out three lines and don't say what you are supposed to add to replace those lines. FYI: In PHP, { is the beginning of a code section, and } is the end of a section. -jared
Recommended Posts
Archived
This topic is now archived and is closed to further replies.