Guest Posted August 1, 2005 Share Posted August 1, 2005 I would like to change the link in the lefthand Info box, which contains "Privacy Policy," "Contact us," "Conditions," etc. I would like the link to go to an external webpage. How do I change the existing link? What file is that link defined in? Thank you very much for your help! :thumbsup: Link to comment Share on other sites More sharing options...
WiseWombat Posted August 2, 2005 Share Posted August 2, 2005 I would like to change the link in the lefthand Info box, which contains "Privacy Policy," "Contact us," "Conditions," etc. I would like the link to go to an external webpage. How do I change the existing link? What file is that link defined in? Thank you very much for your help! :thumbsup: <{POST_SNAPBACK}> The file is catalog/includes/boxes/informations.php Just try one of these and add them to the list //////////////////////////////////////////////////////////////////////////////////////////////////// This one changes your page but keep your sites sessions alive so you can return back to you store '<a href="' . tep_href_link('catalog/welcome-to-myoutsidepage.html') . '">My oUt Side Page</a><BR>' . ////////////////////////////////////////////////////////////////////////////////////////////////// And This brings up a new pop up page sessions stay active but eventualy time out '<a href=" welcomes-to-myoutsidepage.html/"target=\"_blank\">My out Side Page</a><BR>' . /////////////////////////////////////////////////////////////////////////////////////////////////////// ( WARNING ) I think I know what Im talking about. BACK UP BACK UP BACK UP BACK UP Link to comment Share on other sites More sharing options...
Guest Posted August 2, 2005 Share Posted August 2, 2005 WiseWombat, thank you very much! So far, so good. The external link is working beautifully. Perfecto! Now, my only minor problem is that the phrases "Contact Us" is showing up twice (one of which is not clickable, and the other goes to my external page). Here is my code for the catalog/includes/boxes/information.php page <!-- 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=" http://darkelf.helpdeskconnect.com/"target=\"_blank\">Contact Us</a><BR>' . BOX_INFORMATION_CONTACT . '</a>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //--> Does the double entry have something to do with this line? BOX_INFORMATION_CONTACT . '</a>' I tried removing it, but it breaks the page--so for now I am leaving the extra occurance of Contact Us. Here is my main catalog page: http://www.darkelfcollection.com/main/ Link to comment Share on other sites More sharing options...
WiseWombat Posted August 3, 2005 Share Posted August 3, 2005 WiseWombat, thank you very much! So far, so good. The external link is working beautifully. Perfecto! Now, my only minor problem is that the phrases "Contact Us" is showing up twice (one of which is not clickable, and the other goes to my external page). Here is my code for the catalog/includes/boxes/information.php page <!-- 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=" http://darkelf.helpdeskconnect.com/"target=\"_blank\">Contact Us</a><BR>' . BOX_INFORMATION_CONTACT . '</a>'); ?new infoBox($info_box_contents); ?> ? ? ? ? ? ?</td> ? ? ? ? ?</tr> <!-- information_eof //--> Does the double entry have something to do with this line? BOX_INFORMATION_CONTACT . '</a>' I tried removing it, but it breaks the page--so for now I am leaving the extra occurance of Contact Us. Here is my main catalog page: http://www.darkelfcollection.com/main/ <{POST_SNAPBACK}> try this and change your catalog/includes/langauges/english.php look for define('BOX_INFORMATION_CONTACT', 'Contact Us'); and change to define('BOX_INFORMATION_CONTACT', ''); and put this line back in the catalog/includes/boxes/informations.php '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); but below your new contact out side link ( WARNING ) I think I know what Im talking about. BACK UP BACK UP BACK UP BACK UP Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.