Guest Posted November 15, 2002 Posted November 15, 2002 :? I installed a forum and topsite section in my web site. I made a box called extras, In extas I need to link to these programs which are located outside the catalog directory ie... http://forums.mysite.com instead of www.mysite.com/forums. My question is how do I write the link to go directly to the forum? I type it in as a url link in boxes/extras and osc adds the mysite.com before forums.mysite.com. so it looks like this..... http://www.mysite.com/forums.mysite.com which of course does not work. Any suggestions? Right now I am using redirect to aim a php page to forward to these features but I would rather link directly to the outside resource instead. Thanks!
Guest Posted November 15, 2002 Posted November 15, 2002 :oops: msasek replied........ I am not sure if you followed the instructions in the guide, but this is normally where you would add the link info: file: /catalog/includes/boxes/yourcustombox.php Simply hardcode your url into this section. That should work for you. See the last link in this example: Code: $info_box_contents[] = array('align' => 'left', 'text' => '<a href="' . tep_href_link(FILENAME_TESTPAGE1, '', 'NONSSL') . '">' . BOX_TEST_LINK1 . '</a><br>' . '<a href="' . tep_href_link(FILENAME_TESTPAGE2, '', 'NONSSL') . '">' . BOX_TEST_LINK2 . '</a><br>' . '<a href="' . tep_href_link(FILENAME_TESTPAGE3, '', 'NONSSL') . '">' . BOX_TEST_LINK3 . '</a><br>' . '<a href="http://yourlink.com">My Link</a>' I was trying to place the links in the existing codes by changing the "define line" to point to the out side web page, thats why it included my web address before the forum url. Duhhhhhhhhhhhhh! LOL Thanks for your help.... Now if you want to upload all 4000 products for me i would be even more greatful ........... RFL :lol: You guys are great!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.