1
SpinMan
Modifying User Login Page
  • 2004/6/23 18:49

  • SpinMan

  • Just popping in

  • Posts: 17

  • Since: 2004/4/10


I know that I read here before how to modify the login page to include text, etc. but I can't seem to find the post.

Could anyone please give me the code to use in the system_block_login.html? (I know that it is <div> etc...)?

<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>

2
tl
Re: Modifying User Login Page
  • 2004/6/23 18:55

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Well you already had it in your post, what code you are looking for?

3
SpinMan
Re: Modifying User Login Page
  • 2004/6/23 18:57

  • SpinMan

  • Just popping in

  • Posts: 17

  • Since: 2004/4/10


Thanks. I wanted to place a message within the USER LOGIN box along side of the USERNAME Field. I suppose I could place tables inside it....

Should I be modifying the system_userform.html instead?

I am looking for sample code, something like this....

<div><{$lang_notregister}><br /></div>
</fieldset>

4
tl
Re: Modifying User Login Page
  • 2004/6/23 19:03

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Quote:
I wanted to place a message within the USER LOGIN box along side of the USERNAME Field. I suppose I could place tables inside it....


Do you think you will have space for any message beside it? It is very small space to begin with.

5
SpinMan
Re: Modifying User Login Page
  • 2004/6/23 19:09

  • SpinMan

  • Just popping in

  • Posts: 17

  • Since: 2004/4/10


Actually, very wide...takes up most of the screen...

6
tl
Re: Modifying User Login Page
  • 2004/6/23 19:22

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Quote:

Should I be modifying the system_userform.html instead?

I am looking for sample code, something like this....

<div><{$lang_notregister}><br /></div>
</fieldset>


It will depend on where you want people to log in and see your message. If you expect user to log in via user.php, then you can modify system_userform.html file.

Better yet, you could simply expand <{$lang_notregister}> message in modules/system/language/english/blocks.php file. This way the text message is not messing up your login box and you don't need to modify the template file.

7
SpinMan
Re: Modifying User Login Page
  • 2004/6/23 20:03

  • SpinMan

  • Just popping in

  • Posts: 17

  • Since: 2004/4/10


Thanks a bunch...I will try this!


Login

Donat-O-Meter

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

Latest GitHub Commits