Icelady Posted September 10, 2005 Share Posted September 10, 2005 Hi! I have been trying out some contributions such as Page editor (which I then uninstalled), Links manager and Printable Catalog. After I uninstalled the Pages contribution, I noticed that the BOX_HEADING_INFORMATION text showed up twice. It appears in the box heading where it is supposed to but also below it at the top of the link area of that box. I have no idea how to fix that and I have even tried to install older versions I have of the information.php and left_column.php without any changes. Guess I must have made some changes along the way I may have forgotten so I was wondering if any of you know how to fix this. Any suggestions? Link to comment Share on other sites More sharing options...
stevel Posted September 10, 2005 Share Posted September 10, 2005 You're missing a define for BOX_HEADING_INFORMATION - it should be in includes/languages/english.php Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description Link to comment Share on other sites More sharing options...
Icelady Posted September 11, 2005 Author Share Posted September 11, 2005 No the definition is not missing. The text stated in the define line shows up twice ('Information' or as we say in Icelandic: "Uppl?singar"). You can view this at my website: www.veisluval.is Link to comment Share on other sites More sharing options...
stevel Posted September 11, 2005 Share Posted September 11, 2005 Sorry, I misunderstood. What's the contents of your includes/boxes/box_information.php? Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description Link to comment Share on other sites More sharing options...
Icelady Posted September 11, 2005 Author Share Posted September 11, 2005 Here it is: <?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, true, false); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT . '</a><br>' . '<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_LINKS) . '">' . BOX_INFORMATION_LINKS . '</a><br>' . // VJ Links Manager v1.00 added'<a href="' . tep_href_link(FILENAME_PRINT_CATALOG, '', 'NONSSL') . '" target="_BLANK">' . BOX_INFORMATION_PRINT_CATALOG .'</a>'); new infoBox($info_box_contents);?> </td> </tr><!-- information_eof //--> Link to comment Share on other sites More sharing options...
stevel Posted September 11, 2005 Share Posted September 11, 2005 You're missing a line. After: new infoBoxHeading($info_box_contents, true, false); add: $info_box_contents = array(); Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description Link to comment Share on other sites More sharing options...
Icelady Posted September 11, 2005 Author Share Posted September 11, 2005 It's perfect now, thank you so much!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.