getitdone99 Posted April 17, 2008 Share Posted April 17, 2008 Hello all! We recently added "Tell a Friend" to the header of our store. We used this linking: <a href=<?=tep_href_link(FILENAME_TELL_A_FRIEND, tep_get_all_get_params())?> class=ml1>Tell A Friend</a> It works great and redirects to the login page if you are NOT logged in, however if you are logged in then we see a 'product not found' error. Can any please tell us how to properly link to that page? Or what we need to do to remedy the issue? Thanks ahead of time! Link to comment Share on other sites More sharing options...
germ Posted April 17, 2008 Share Posted April 17, 2008 The best thing would be to take it back out of the header. It's designed to "tell a friend" about a particular product being viewed. You're using it improperly (in a way it wasn't coded to be used), that's why you get the error. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
getitdone99 Posted April 18, 2008 Author Share Posted April 18, 2008 Ah, that makes total sense. Didn't think of that way, but you are right. That won't work if you are not logged in. Thanks for the advice!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.