1
4degrees
Login Form
  • 2003/12/9 22:20

  • 4degrees

  • Just popping in

  • Posts: 21

  • Since: 2003/12/5


First I'd like to say it's plain stupid having them different lengths.

Now that's said, how would I change the lengths of this form. I want my password field to be the same length as the username field. Thanks in advance for the help.

Paul

2
CBlue
Re: Login Form

In templates manager, look for system_userform.html

Here is the code for it and where you make the changes for the form at.

<fieldset style="padding: 10px;">
<legend style="font-weight: bold;"><{$lang_login}></legend>
<form action="user.php" method="post">
<{$lang_username}> <input type="text" name="uname" size="26" maxlength="25" value="<{$usercookie}>" /><br /><{$lang_password}> <input type="password" name="pass" size="21" maxlength="20" /><br />
<input type="hidden" name="op" value="login" />
<input type="hidden" name="xoops_redirect" value="<{$redirect_page}>" />
<input type="submit" value="<{$lang_login}>" />
</form>
<a name="lost"></a>
<div><{$lang_notregister}><br /></div>
</fieldset>

<br />

<fieldset style="padding: 10px;">
<legend style="font-weight: bold;"><{$lang_lostpassword}></legend>
<div><br /><{$lang_noproblem}></div>
<form action="lostpass.php" method="post">
<{$lang_youremail}> <input type="text" name="email" size="26" maxlength="60" />&nbsp; <input type="hidden" name="op" value="mailpasswd" /><input type="submit" value="<{$lang_sendpassword}>" />
</form>
</fieldset>

If your using the XOOPS default templates, you have to clone the templates first, then edit that file I named and save it. Then you have to change your default template in general settings to be the cloned template and not the original one.

3
4degrees
Re: Login Form
  • 2003/12/9 23:45

  • 4degrees

  • Just popping in

  • Posts: 21

  • Since: 2003/12/5


Thanks ... again lol :)

4
CBlue
Re: Login Form

You're welcome! Hope that helped you!

5
4degrees
Re: Login Form
  • 2003/12/9 23:48

  • 4degrees

  • Just popping in

  • Posts: 21

  • Since: 2003/12/5


yea it did sort of .... I get the following error after i've edited the file ...

Could not insert template file to the database.

6
CBlue
Re: Login Form

This is from the template manager, using the cloned template?

7
4degrees
Re: Login Form
  • 2003/12/9 23:52

  • 4degrees

  • Just popping in

  • Posts: 21

  • Since: 2003/12/5


Yea, it is.

8
CBlue
Re: Login Form

Okay, try updating your system module in modules admin and then try to edit the file again. Maybe that will work.

If all else fails, edit the file (the one in your modules/system/templates folder) in your cpanel's file manager (if you have one!) and then update the system module. But put the original default template back in your system admin's general settings first.

Login

Who's Online

118 user(s) are online (58 user(s) are browsing Support Forums)


Members: 0


Guests: 118


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