hatimad Posted June 6, 2003 Share Posted June 6, 2003 Hi Hatimad Did those codes worked for you and are you using those one MS1. If it is working on MS1 can you post the codes here or PM me. Thanks no i am not using it at the moment for MS1, my site was almost ready and it was too complicated for me to go for it at that point. Link to comment Share on other sites More sharing options...
jaysin Posted June 6, 2003 Share Posted June 6, 2003 Hi did any one have those codes working on MS1. Link to comment Share on other sites More sharing options...
Kristofor Posted June 8, 2003 Share Posted June 8, 2003 ok can someone just post something telling us exactly what to do to install this, please, cause its very very hard to follow what u guys were doing Don't die with the music in you!!! Failure is just another boundary to sucess!!! But that doesn't mean your getting somewhere... Link to comment Share on other sites More sharing options...
majestix Posted June 14, 2003 Share Posted June 14, 2003 I agree with Kristofor: can someone post the whole thing now that is seems to be completed? Or provide a link to the contribution. I tried a search but to no avail ... Thanx y'all for all your work and effort! - DM Link to comment Share on other sites More sharing options...
J0J0 Posted October 10, 2004 Share Posted October 10, 2004 I found a very easy way for the problem: Make your login link like this: <a href="' . tep_href_link(FILENAME_LOGIN, 'make=snapshot', 'SSL') . '">LogIn</a> and put this code to the top of login.php (I would recommend a position after the tep_redirect() statement, line 19 e.g.) // HACK TO REMEMBER THE LAST POSITION if ($HTTP_GET_VARS['make'] == "snapshot") { $back = sizeof($navigation->path)-2; if (isset($navigation->path[$back])) { $navigation->set_snapshot($navigation->path[$back]); } } // END HACK Works fine for me. :) Any comments? Johannes Link to comment Share on other sites More sharing options...
Guest Posted October 29, 2004 Share Posted October 29, 2004 Where do I find the contribution on this if it exists ? Link to comment Share on other sites More sharing options...
J0J0 Posted October 29, 2004 Share Posted October 29, 2004 Where do I find the contribution on this if it exists ? <{POST_SNAPBACK}> This little hack is too small to be a contribution. Just place your login-link somewhere in your shop and copy the code into the file 'login.php'. That's it. Link to comment Share on other sites More sharing options...
imfinlay Posted November 7, 2004 Share Posted November 7, 2004 It works fine, but as I have a "log in" link in my header navigation, if a customer uses this link on create_account.php which is brought up for them during checkout it returns to the create account page, which isn't really desireable. I wish I could be creative enough to give a fix right now, but I just thought I'd point this out for others! Ian I found a very easy way for the problem: Make your login link like this: <a href="' . tep_href_link(FILENAME_LOGIN, 'make=snapshot', 'SSL') . '">LogIn</a> and put this code to the top of login.php (I would recommend a position after the tep_redirect() statement, line 19 e.g.) // HACK TO REMEMBER THE LAST POSITION if ($HTTP_GET_VARS['make'] == "snapshot") { ?$back = sizeof($navigation->path)-2; ?if (isset($navigation->path[$back])) { ?$navigation->set_snapshot($navigation->path[$back]); ? ?} ? ? } // END HACK Works fine for me. :) Any comments? Johannes <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
imfinlay Posted November 7, 2004 Share Posted November 7, 2004 Actually, I surprised myself! :D my header login is now: <?php if (!strstr($PHP_SELF,'account')) { ?> <a href="<?php echo tep_href_link FILENAME_LOGIN, 'make=snapshot', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGIN; ?></a> | <?php } else { ?> <a href="<?php echo tep_href_link(FILENAME_LOGIN, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGIN; ?></a> | <?php } ?> Needs more testing though... Ian It works fine, but as I have a "log in" link in my header navigation, if a customer uses this link on create_account.php which is brought up for them during checkout it returns to the create account page, which isn't really desireable. I wish I could be creative enough to give a fix right now, but I just thought I'd point this out for others! Ian <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.