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


Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
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

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.

Status: offline

Dirk

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

bye, Dirk