dredd15 Posted August 17, 2008 Share Posted August 17, 2008 I'm a bit lost. I'm running OSCommerce RC2 and STSv4.5.8. I'm inside my sts_template.html and I added a few graphics to the sidebar of my template ... one of which needs to link to shipping.php ... but it is my understanding that if I simply link to "shipping.php" it will break my session. The file is a .html file, so I can't use the PHP tep_href stuff ... How do I do this? Help? Jason Quote Link to comment Share on other sites More sharing options...
bkellum Posted August 17, 2008 Share Posted August 17, 2008 I'm a bit lost. I'm running OSCommerce RC2 and STSv4.5.8. I'm inside my sts_template.html and I added a few graphics to the sidebar of my template ... one of which needs to link to shipping.php ... but it is my understanding that if I simply link to "shipping.php" it will break my session. The file is a .html file, so I can't use the PHP tep_href stuff ... How do I do this? Help? Jason Jason, you need to familiarize yourself with STS and its capabilities. You can use PHP coding inside your STS template. You can create a STS tag that is session ID friendly:$sts->template['urlshipping'] = tep_href_link(FILENAME_SHIPPING, '', 'NONSSL'); You can also simply link the image as so:<a href="<?php echo tep_href_link('shipping.php', 'NONSSL'); ?>" IMPORTANT: Please post all STS related questions in the proper STS support thread. The link is published in the STS User Manual as well as in my signature below (STSv4 Forum). Hope to see you there. Quote Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.