jwsfun Posted November 26, 2003 Share Posted November 26, 2003 :o I just installed a "phpBB2" forum download for our site. Everything went smoothly with the installation, and there appear to be no database issues whatsoever. The problem is, in our footer, we have links to various pages on our site, and this is where we want the link to our forums. But... When I try to insert the code for the "tep href link" in footer.php, it does not work. The bit of code is: <a href="<?php echo tep_href_link(FILENAME_FORUM_PHPBB2_INDEX, '', 'NONSSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_FORUM; ?></td> The directory for this forum [file] is: shop/forum/phpBB2/index.php And the includes/languages/english.php reads: define('HEADER_TITLE_FORUM', 'forums');<---no problems here Is this not linking properly because of a missing application_top.php define? I tried adding the file define as "define('FILENAME_FORUM_PHPBB2_INDEX', 'index.php');" to application_top.php without success. Do I need to move everything into a different directory? I know that's not difficlut to do, but I just don't understand why the tep href link isn't "seeing" the link to this page, even though I can type it out in the address bar and everything is peachy. WHAT am I missing or doing wrong? Please help :). Link to comment Share on other sites More sharing options...
blueline Posted November 26, 2003 Share Posted November 26, 2003 If you are going to use osCommerce functions, you must include the application_top.php files. Chris Sullivan Link to comment Share on other sites More sharing options...
jwsfun Posted November 26, 2003 Author Share Posted November 26, 2003 I tried to do this, but it didn't work. Any other suggestions as to how I can get this to link properly? Link to comment Share on other sites More sharing options...
jwsfun Posted November 27, 2003 Author Share Posted November 27, 2003 Nevermind...I got it working. :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.