1
marcan
Login Block : IE and Mozilla !
  • 2004/2/11 19:41

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


Hi, this something weird : With Internet Explore 6, in the Login block on the main page of my site, if I enter my username, pasword and I click on the button User Login, nothing happens. If I do the same thing with Mozilla, no problem at all !

Can anybody help me?

2
marcan
Re: Login Block : IE and Mozilla !
  • 2004/2/11 19:47

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


More info :

It works fine in IE6 if I login at the user.php#lost page.

Also, I've found where the problem was. I wanted the Login block to be centered, so I changed modules\system\templates\blocks\system_block_login.html which looks like this :
<form style="margin-top: 0px;" action="<{$xoops_url}>/user.php" method="post"><{$block.lang_username}><br /><input type="text" name="uname" size="12" value="<{$block.unamevalue}>" /><br /><{$block.lang_password}><br /><input type="password" name="pass" size="12" /><!-- <br /><input type="checkbox" name="rememberme" value="On" class ="formButton" /><{$block.lang_rememberme}> //--><br /><input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" /><input type="hidden" name="op" value="login" /><input type="submit" value="<{$block.lang_login}>" /><br /><{$block.sslloginlink}>
</form>
<
a href="<{$xoops_url}>/user.php#lost"><{$block.lang_lostpass}></a>
<
br /><br />
<
a href="<{$xoops_url}>/register.php"><{$block.lang_registernow}></a>


To this :
<div align="center"
<form style="margin-top: 0px;" action="<{$xoops_url}>/user.php" method="post"><{$block.lang_username}><br /><input type="text" name="uname" size="12" value="<{$block.unamevalue}>" /><br /><{$block.lang_password}><br /><input type="password" name="pass" size="12" /><!-- <br /><input type="checkbox" name="rememberme" value="On" class ="formButton" /><{$block.lang_rememberme}> //--><br /><input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" /><input type="hidden" name="op" value="login" /><input type="submit" value="<{$block.lang_login}>" /><br /><{$block.sslloginlink}>
</form>
<
a href="<{$xoops_url}>/user.php#lost"><{$block.lang_lostpass}></a>
<
br /><br />
<
a href="<{$xoops_url}>/register.php"><{$block.lang_registernow}></a>
</
div>


Did a system update...

The problem occurs with the second version of the file. If I put the original file, everything works fine.

Any suggestion?

3
regen_r8
Re: Login Block : IE and Mozilla !
  • 2004/2/11 20:37

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


It immediately jumps out that your leading div tag is not closed.
Quote:
<div align="center"


That might be a problem.

4
marcan
Re: Login Block : IE and Mozilla !
  • 2004/2/12 12:18

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


That was it !

Thanks regen_r8

Login

Who's Online

120 user(s) are online (66 user(s) are browsing Support Forums)


Members: 0


Guests: 120


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits