susan123 Posted November 2, 2007 Posted November 2, 2007 I wanted add a box in my column left, i did it according every step of http://www.oscommerce.info/kb/osCommerce/C...g_Area/Boxes/49 but it doesnt work The notice after i made some changes are : Parse error: parse error, unexpected ';', expecting ')' in /hsphere/local/home/njoi1shr/linguist.artall21.com/catalog/includes/boxes/information.php on line 28 The following is my information.php. ?php /* $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' . new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //--> Anybody can help? Thanks
Guest Posted November 2, 2007 Posted November 2, 2007 I wanted add a box in my column left, i did it according every step of http://www.oscommerce.info/kb/osCommerce/C...g_Area/Boxes/49 but it doesnt work The notice after i made some changes are : Parse error: parse error, unexpected ';', expecting ')' in /hsphere/local/home/njoi1shr/linguist.artall21.com/catalog/includes/boxes/information.php on line 28 The following is my information.php. ?php /* $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' . new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //--> Anybody can help? Thanks ?php /* $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' ; new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //-->
susan123 Posted November 2, 2007 Author Posted November 2, 2007 Are u answering my question? I just can see that you copied my question and posted here.
Guest Posted November 2, 2007 Posted November 2, 2007 Are u answering my question? I just can see that you copied my question and posted here. I answered your question, I did not copy your question. Look at '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' ; and compare it to yours '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' , do you notice the ; at the end?
cube Posted November 2, 2007 Posted November 2, 2007 I answered your question, I did not copy your question.Look at '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' ; and compare it to yours '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' , do you notice the ; at the end? Doesn't it need to be: $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' ); (Added closing ) for array).
Guest Posted November 2, 2007 Posted November 2, 2007 Doesn't it need to be: $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' ); (Added closing ) for array). I thought tht is what I said in my two replies, but ......................
susan123 Posted November 4, 2007 Author Posted November 4, 2007 I thought tht is what I said in my two replies, but ...................... Thanks!!!!!!!!!!!!!!!!! Sorry, i was late for reply . you are really very kind.
susan123 Posted November 4, 2007 Author Posted November 4, 2007 Doesn't it need to be: $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' ); (Added closing ) for array). Thanks!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.