Tye Posted December 16, 2004 Posted December 16, 2004 Hi I have been creating some extra static pages for my store and just linking directly to them like this: <a href="http://www.store.com/aboutus.php">About Us </a> But I have noticed that there is another method using 'tep' links '<a href="' . tep_href_link(FILENAME_ABOUT_US, '', 'NONSSL') . '">' . BOX_INFORMATION_ABOUT_US . '</a>' My questions are: 1 - Will both methods work? My store seems to function normally using non tep links 2 - What is the reason for Tep linking? 3 - My site is heavily modified with lots of 'static' pages - which method do you think I should use? Thanks Tye
♥yesudo Posted December 16, 2004 Posted December 16, 2004 TEP ensures the sessions id is carried whereas sometimes static links don't. I would go with Tep. Your online success is Paramount.
Jack_mcs Posted December 16, 2004 Posted December 16, 2004 Hi I have been creating some extra static pages for my store and just linking directly to them like this: <a href="http://www.store.com/aboutus.php">About Us </a> But I have noticed that there is another method using 'tep' links '<a href="' . tep_href_link(FILENAME_ABOUT_US, '', 'NONSSL') . '">' . BOX_INFORMATION_ABOUT_US . '</a>' My questions are: 1 - Will both methods work? My store seems to function normally using non tep links 2 - What is the reason for Tep linking? 3 - My site is heavily modified with lots of 'static' pages - which method do you think I should use? Thanks Tye <{POST_SNAPBACK}> 1 - You will have problems with losing SID's if you use the first method.2 - To add the SID's. 3 - The second one. Try visiting a page that links with the tep function. Notice the SID in the URL. Now click on one of the HTML links. Notice you no longer have the SID. 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
Tye Posted December 16, 2004 Author Posted December 16, 2004 Thanks yesudo, Jack_mcs I am using the STS (simple Template System) and I can include the session ids with the links using the '$sid' tag. Is there anyother benefit of using the 'tep' linking?
Jack_mcs Posted December 16, 2004 Posted December 16, 2004 It also checks for a bad link and swtches to SSL and back as required. 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
blueedge Posted December 16, 2004 Posted December 16, 2004 Sorry for being such a novice but could someone explain a little more about tep_href_link? I, too, have static pages that are referenced using traditional html. Although they appear to be functional, after reading this post, I'm concerned that there is something that I'm missing.
Tye Posted December 16, 2004 Author Posted December 16, 2004 TEP ensures the sessions id is carried whereas sometimes static links don't. I would go with Tep. <{POST_SNAPBACK}> I think this is the explanation.
Platinum Games Posted December 16, 2004 Posted December 16, 2004 I have HTML links on my site and i lose the "SID's" during normal play (onload of site) you dont even have to click the link. sometimes i get an SID and sometimes i dont. I would use the TEP if i were you. its just i havent worked out how. the only think i have noticed with non tep links is the "whos online" function is allways recording you as a different user everytime you open your page. eg. i logged in and closed the page reopened the page and it said i was there twice, and 3 times......etc..... then after about 10-15 mins it would reset. is there any other problems that can happen? will it affect the order process? Thanks in advance! Ben
Recommended Posts
Archived
This topic is now archived and is closed to further replies.