♥Chris Perkins Posted February 27, 2006 Share Posted February 27, 2006 In my header.php file I have defined a few links to go accross the top of the page. For example, this is one of them: <?php echo '<a class="headerlinks" title="The Accessory Range" href="' . tep_href_link(FILENAME_ACCESSORYRANGE, '', 'NONSSL') . '">' . "The Accessory Range" . '</a>'; ?> It displays a link to info on my accessory range by directing the visitor to the page FILENAME_ACCESSORYRANGE (which is accessoryrange.php, and it works absolutely fine). I'd like to have a link in header.php to my forum so that it is displayed on every page, but can't work out how to enter a link to an HTML page in that php code. I'd like the link to point at http://www.predecimal.com/forum/ but I can't seem to get the syntax right! Can someone help my express a URL link in php! Thanks Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 27, 2006 Share Posted February 27, 2006 For links to html pages, use html links, not the tep_href_link function. You should also include the target="_blank" attribute or you may suffer a loss of session ID's. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
♥Chris Perkins Posted February 27, 2006 Author Share Posted February 27, 2006 Hello Jack, Simple as they a! I think I've got it fixed now. Thanks. Link to comment Share on other sites More sharing options...
♥Chris Perkins Posted February 27, 2006 Author Share Posted February 27, 2006 Hello Jack, Simple as they a! I think I've got it fixed now. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.