1
roguetech
Login at top
  • 2006/6/6 17:28

  • roguetech

  • Just popping in

  • Posts: 2

  • Since: 2006/6/6 1


I'm trying to put the login at the top as a strip. I've tried just centering it, and removing the line-breaks, but naturally it puts the regular block border around it. Is it possible to stick $block.lang_username, $block.unamevalue, $block.lang_password, etc. in the theme.html? What's the best way to place these whereever I want without regard to the regular block setup or columns?

2
stefan88
Re: Login at top
  • 2006/6/6 19:37

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


It could be something like this:
<form style="margin-top: 0px; margin-bottom: 0px" action="<{$xoops_url}>/user.php" method="post">
&
nbsp;<input name="uname" type="text" value="" size="14" />
&
nbsp;<input name="pass" type="password" value="" size="12" /> 
<
input name="op" type="hidden" value="login" />
<
input name="submit" type="submit" value="<{$smarty.const._LOGIN}>" />&nbsp
form>


you may also put this in <{if !$xoops_isuser}> ... <{/if}> so it will be shown only for guests.
..

3
roguetech
Re: Login at top
  • 2006/6/7 15:50

  • roguetech

  • Just popping in

  • Posts: 2

  • Since: 2006/6/6 1


I'll try that out (tonight). Thanks!

Login

Who's Online

450 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 450


more...

Donat-O-Meter

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

Latest GitHub Commits