1
Anonymous
Fixing the ugly look
  • 2003/11/26 22:29

  • Anonymous

  • Posts: 0

  • Since:


Can someone please send me the proper code to make the login and password boxed the same width and hight and a bit wider
and the Lost Password text immediately under the User Login button and the Register immediately under it. The way it is now look nasty and takes too much vertical space.

Also tell me in which file to instert it/replace the old one please?

Max

2
Anonymous
Re: Fixing the ugly look
  • 2003/11/26 22:41

  • Anonymous

  • Posts: 0

  • Since:


ooops, wrong forum. please move?

Mea culpa!

Max

3
Per4orm
Re: Fixing the ugly look
  • 2003/11/26 22:44

  • Per4orm

  • Documentation Writer

  • Posts: 145

  • Since: 2003/11/14


Site Under Construction

If you'd be happy with the way that login box looks, I can provide you with the code.

4
Shine
Re: Fixing the ugly look
  • 2003/11/26 22:45

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


How about exploring XOOPS to learn how and where it fetches things?

Now take a look:
As you can see the login is a block!
Its look is rendered from a block_login.html
Since the login(block) is part of the system .........
Rings a bell?

modules/system/templates/blocks

Here you'll find its htmlfile, which you can redesign.
Offcourse you can do this also from xoops/admin itself by cloning the templates.

Grtz., Shine


5
Anonymous
Re: Fixing the ugly look
  • 2003/11/26 22:48

  • Anonymous

  • Posts: 0

  • Since:


I clicked on templated and i do not see an option to edit that block anywhere.

6
Anonymous
Re: Fixing the ugly look
  • 2003/11/26 22:54

  • Anonymous

  • Posts: 0

  • Since:


Blonde moment. Mea culpa!

Max

7
Anonymous
Re: Fixing the ugly look
  • 2003/11/26 22:59

  • Anonymous

  • Posts: 0

  • Since:


There is a BUG!!!!!!!!!!

Every time I paste my changes and click preview it kicks me back to the general setting page and none of my changes take place.

8
Shine
Re: Fixing the ugly look
  • 2003/11/26 22:59

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


If you want to adjust them from the XOOPS admin:
You'll see a list of default XOOPS templateset. Next to it there is the option of cloning!
You cannot adjust the default templates, first you need to clone its default templates! Only the cloned templates you can adjust.

9
Anonymous
Re: Fixing the ugly look
  • 2003/11/26 23:01

  • Anonymous

  • Posts: 0

  • Since:


Per4orm, yes, that is what I need, everything bellow you Login title.

Thanks much.

Max

10
Per4orm
Re: Fixing the ugly look
  • 2003/11/27 8:08

  • Per4orm

  • Documentation Writer

  • Posts: 145

  • Since: 2003/11/14


Max,

The code I used is below. Delete everything that's already inside your "system_block_login.html" file and copy and paste the code below to achieve the same results.

Regards,
Gareth

Quote:

<form style="margin-top: 0px;" action="<{$xoops_url}>/user.php" method="post"><{$block.lang_username}><br /><input type="text" name="uname" size="15" value="<{$block.unamevalue}>" /><br /><{$block.lang_password}><br /><input type="password" name="pass" size="15" /><br /><input type="checkbox" name="rememberme" value="On" class ="formButton" />Remember Me<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 />
<a href="<{$xoops_url}>/user.php#lost"><{$block.lang_lostpass}></a>
<br />
<a href="<{$xoops_url}>/register.php"><{$block.lang_registernow}></a></form>

Login

Who's Online

206 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 206


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