dollboutique Posted July 28, 2006 Share Posted July 28, 2006 Hi! I want to add an extra link to the information bar (privacy, conditions etc) to open a links page in a new window. How do I do this? Where do I edit the information bar? Thanks in advance, Emily Link to comment Share on other sites More sharing options...
Guest Posted July 28, 2006 Share Posted July 28, 2006 Hi! I want to add an extra link to the information bar (privacy, conditions etc) to open a links page in a new window. How do I do this? Where do I edit the information bar? Thanks in advance, Emily its in the catalog/includes/boxes/information.php file Link to comment Share on other sites More sharing options...
♥Vger Posted July 28, 2006 Share Posted July 28, 2006 You need to: 1. Create a new page 2. Add it to includes/filenames.php 3. Add it to includes/boxes/information.php 4. Add it to the includes/languages/english.php file under the entries for the Information box. Vger Link to comment Share on other sites More sharing options...
rabbitseffort Posted July 28, 2006 Share Posted July 28, 2006 if all you need to do is add a link to an existing page elsewhere, then do it like this: $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ABOUT) . '">' . BOX_INFORMATION_ABOUT . '</a><br>' . '<a href="' . tep_href_link(FILENAME_VISITING) . '">' . BOX_INFORMATION_VISITING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_COPYRIGHT) . '">' . BOX_INFORMATION_COPYRIGHT . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="http://www.mynewlink.com" target="_blank">My New Link</a>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); the part here: <a href="http://www.mynewlink.com" target="_blank">My New Link</a>, will need altered to suit your link, and the target_blank opens it in a new window for you "I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings." ---Margaret Mead--- "The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer. --Ken Kesey" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.