zozzoozzz Posted July 25, 2010 Posted July 25, 2010 I installed a wordpress blog on my Osc store's catalog folder. I want to add a link to the blog home page. This link is : <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . 'Return to store' . '</a>'; ?> But this php link with session Id did not work on the blog. Hope someone can help. Thanks in advance. Jun
MrPhil Posted July 25, 2010 Posted July 25, 2010 Since you're not getting a "function not found: tep_href_link()" message, I'll assume that you're including the appropriate osC file to define that function. I suspect what's happening is that you lost the session when leaving osC and hopping around the blog pages, unless you added the appropriate session code to all the blog pages. You might search around (and then ask) on this forum for how to maintain the osC session on non-osC pages. IIRC, it involves adding PHP code to do a session_start() or something at the beginning of every page. If Wordpress also has its own sessions, I don't know if you'll be able to preserve your osC session even then.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.