Is there a simple way to turn off the ajax popup
so that the top right Member Login link goes to the member.php page
like it used to in earlier versions?
Thanks
Dan V
Is there a simple way to turn off the ajax popup so that the top right Member Login link goes to the member.php page like it used to in earlier versions? Thanks Dan V |
you need just to edit templates/tmpl_uni/scripts/functions.php find this line: <a href="<?= $site['url'] ?>member.php" onclick="showItemEditForm('login_div'); $( '#login_div' ).show().load( '<?= $site['url'] ?>member.php?action=show_login_form&relocate=' + encodeURIComponent( window.location ) );return false;"><?= _t( '_Member Login' ) ?></a> and replace it with this one: <a href="<?= $site['url'] ?>member.php" ><?= _t( '_Member Login' ) ?></a> Regards Artur A |
Thanks Artur I will try that out as soon as my computer is operational again. Dan V |
Hi Artur You said to find <a href="<?= $site['url'] ?>member.php" onclick="showItemEditForm('login_div'); $( '#login_div' ).show().load( '<?= $site['url'] ?>member.php?action=show_login_form&relocate=' + encodeURIComponent( window.location ) );return false;"><?= _t( '_Member Login' ) ?></a> but on my site for some reason this code is slightly different like this ... <a href="<?= $site['url'] ?>member.php" onclick="showItemEditForm('login_div'); $( '#login_div' ).show().load( '<?= $site['url'] ?>member.php?action=show_login_form&relocate=' + encodeURIComponent( window.location ), disableMedia(true));return false;"><?= _t( '_Member Login' ) ?></a> any idea what the disableMedia(true) section is about? Could this be causeing problems with the login popup? Thanks Dan V |
I have just checked my functions.php and it does not have "disableMedia(true) section". My login works ok. I hope this helps, Stuart Hi Artur You said to find <a href="<?= $site['url'] ?>member.php" onclick="showItemEditForm('login_div'); $( '#login_div' ).show().load( '<?= $site['url'] ?>member.php?action=show_login_form&relocate=' + encodeURIComponent( window.location ) );return false;"><?= _t( '_Member Login' ) ?></a> but on my site for some reason this code is slightly different like this ... <a href="<?= $site['url'] ?>member.php" onclick="showItemEditForm('login_div'); $( '#login_div' ).show().load( '<?= $site['url'] ?>member.php?action=show_login_form&relocate=' + encodeURIComponent( window.location ), disableMedia(true));return false;"><?= _t( '_Member Login' ) ?></a> any idea what the disableMedia(true) section is about? Could this be causeing problems with the login popup? Thanks Dan V There are none so blind as those that will not see. |
Well I tried just taking out the 'disable media' part of the code and it made no apparent difference.
I think I have nailed down the problem with the popup login further though.
Its only happening in Firefox, and only when I use the popup from a profile page.
I get an error message and cant log in.
But if I do it from any other page its fine.
Arghhhh :-(
I guess I will just turn off the popup as Artur explained.
Thanks Dan V |
I used to have the same problem, then I found free fix on expertzzz.com It does the same thing, you do have a popout login box, its just slightly different in size and look but it is functional...
http://www.expertzzz.com/Downloadz/view/2788
I hope this helps. Nurke |
Hi Nurke Thanks I will try it. Im running 6.1004. Dan V |