Sardonic76 Posted February 10, 2005 Share Posted February 10, 2005 Hello! I've obviously done something silly somewhere, but I don't know where. In the left column information box there are 4 links. They all work apart from the 1st one which brings up an error page: "The requested URL /FILENAME_ABOUT_US was not found on this server." Any ideas what I need to change so as to get a link to the right file? Link to comment Share on other sites More sharing options...
Singularity Posted February 10, 2005 Share Posted February 10, 2005 Hello!I've obviously done something silly somewhere, but I don't know where. In the left column information box there are 4 links. They all work apart from the 1st one which brings up an error page: "The requested URL /FILENAME_ABOUT_US was not found on this server." Any ideas what I need to change so as to get a link to the right file? <{POST_SNAPBACK}> Post your code please. ----------------------------------------------------------------------------- Adam Get your osc documentation here: http://www.oscommerce.info/ Link to comment Share on other sites More sharing options...
Sardonic76 Posted February 10, 2005 Author Share Posted February 10, 2005 erm... not quite sure which code you want, but hey! Here's the site: site Here's the code from the information info box: <?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 (c) 2003 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td><div id="leftright"> <?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_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</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>'); new infoBox($info_box_contents); ?> </div></td> </tr> <!-- information_eof //--> Is that what you were asking for? Link to comment Share on other sites More sharing options...
Singularity Posted February 11, 2005 Share Posted February 11, 2005 1. In catalog/includes/languages/english.php, find.... // information box text in includes/boxes/information.php and add your info for ABOUT_US. 2. In catalog/includes/filenames.php make the appropriate entry for your ABOUT_US file. That should get you on the right track. I ahven't looked at the code for ABOUT_US so I don't know if some editing has to be done there. ----------------------------------------------------------------------------- Adam Get your osc documentation here: http://www.oscommerce.info/ Link to comment Share on other sites More sharing options...
Sardonic76 Posted February 12, 2005 Author Share Posted February 12, 2005 Worked like a charm! Thank you, thank you, thank you!! :thumbsup: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.