Hi (sorry in advance for the long post)
I'm trying to help a friend out with her Web site and need to edit some PHP and am encountering some issues.
Firstoff, the site I'm dealing with is
bethsproteinboutique.com Problem #1:
On some of the pages of the site, there is a letter "n" near the top of the page - an example would be the "
Protein " page, where you'll see an "n" just above the "Protein" heading. I have no idea why its there, but would like to know how to remove it from the pages.
Problem #2
I need to make an FAQ page & need a link to that page in the "Information" box which is located on the bottom of the left column on each page. I tried adding a link to the following code (copying the code from one of the links there), & I got the "FAQ" to show up in the Info box, however, when I have that extra link in the Information.php page, it displays a letter "n" on the page when viewing the pages that contain the Info box.
PHP Code:
<?php
/*
$Id: information.php,v 1.9 2004/05/18 08:17:35 mahendrak Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
*/
?>
<!-- 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();
//code changed on 11may 2004 for current_auctions and also for easy condition checking of showing/hiding a particular link.
$box_info="";
$box_info.='<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' ;
$box_info.='<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' ;
$box_info.='<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' ;
$box_info.='<a href="' . tep_href_link(FILENAME_TRACKING, '', 'NONSSL') . '">' . BOX_INFORMATION_TRACKING . '</a><br>' ;
if(DISPLAY_VAT_LINK=='true')
$box_info.='<a href="' . tep_href_link(FILENAME_VAT) . '">' . BOX_INFORMATION_VAT . '</a><br>' ;
$box_info.='<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>';
$box_info.='<a href="' . tep_href_link(FILENAME_GV_FAQ, '', 'NONSSL') . '">' . BOX_INFORMATION_GV . '</a>';
$info_box_contents[] = array('text' =>$box_info);
/* original code commented on 10may for ebay auctions*/
// BOF : ADDED 1/29/2004
// COMMENTS : For Coupon/GiftVoucher module
// REASON : Added a new element at the end of the info_box_contents array for creating the gift voucher FAQ
// Added link for Order Tracking
// Added link for Amazon Store on 10may 2004
/* if(DISPLAY_VAT_LINK=='true'){
$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_TRACKING, '', 'NONSSL') . '">' . BOX_INFORMATION_TRACKING . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_AMAZON_STORE, '', 'NONSSL') . '">' . BOX_INFORMATION_AMAZON_STORE . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_VAT) . '">' . BOX_INFORMATION_VAT . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>'.
'<a href="' . tep_href_link(FILENAME_GV_FAQ, '', 'NONSSL') . '">' . BOX_INFORMATION_GV . '</a>');
}else{
$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_TRACKING, '', 'NONSSL') . '">' . BOX_INFORMATION_TRACKING . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_AMAZON_STORE, '', 'NONSSL') . '">' . BOX_INFORMATION_AMAZON_STORE . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>'.
'<a href="' . tep_href_link(FILENAME_GV_FAQ, '', 'NONSSL') . '">' . BOX_INFORMATION_GV . '</a>');
} */
// EOF : ADDED 1/29/2004 for gift voucher
/* original code commented on 10may for ebay auctions till here*/
new infoBox($info_box_contents);
?>
</td>
</tr>
<!-- information_eof //-->
*** please see the attached .pdf file for my full post, because I passed the limit of 30,000 characters***
THANK YOU!