Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 05:49 am EST

Geeklog Forums

centerblock


oreo

Anonymous
hey.. how do I make the user login a center block? thats the only thing I want on the page for my splash screen.. or should I possible just make a new start screen

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by oreo: how do I make the user login a center block?

You can't turn a block into a centerblock.

What you could do is create a static page with a login form on it and make that a centerblock. See the users/loginform.thtml template file for what needs to be in that form.

bye, Dirk
 Quote

Status: offline

drshakagee

Forum User
Full Member
Registered: 10/01/03
Posts: 231
You could make a static page as a center block (you have to enable php static pages) and put something like this in it:

$retval .= COM_showBlock( user_block, $help='', $title='User Functions' );
return $retval;
Yes I am mental.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Actually, a plain HTML form should do - no need for PHP.

bye, Dirk
 Quote

All times are EST. The time is now 05:49 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content