davids2004 Posted November 10, 2009 Posted November 10, 2009 Here is my code. The part I am having a problem with is '<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT . '</a>');. On my website the link shows up as BOX_INFORMATION_ABOUT instead of about us. It also will not go to the about us page I have on my site. What am I doing wrong? This is an extra link I added. I had it, but it had a space at the bottom and would open up a new window. I want it to function as the original links do now. Thanks. <?php /* $Id: information.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 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_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<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>' . '<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT . '</a>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //-->
lildog Posted November 10, 2009 Posted November 10, 2009 Make sure there is a define in catalog/includes/languages/english.php(or whatever language you are using) Todd
davids2004 Posted November 10, 2009 Author Posted November 10, 2009 Make sure there is a define in catalog/includes/languages/english.php(or whatever language you are using) Todd Ok I put the define in and it now says about us, but will not direct to the page I want it to go to. What do I need to do now. Thanks.
davids2004 Posted November 10, 2009 Author Posted November 10, 2009 When I hover over the link it is trying to refer to the filename instead of the page. The other ones when I hover over them they refer to their page it directs to. Edit: It is now working.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.