Customize User Login From
Hello,
Please, Advice on the steps or videos to watch in order to customize user login form. I wan the user login form to appear in the top nav region I defined in .info theme file. Basically I am sub theming ninesixty theme here is a code snippet from page.tpl.php
<div class="grid-12 clearfix">
<div class="grid-8 alpha">
<div id="main-menu"><?php print $main_menu ?></div>
</div>
<div class="grid-4 omega">
<div id="login-block"><?php //I want to have the login form here!!! ?></div>
</div>
</div>
Thanks in Advance.
Hi there,
Good question. Here's a couple things to look at:
Maybe think about using the page preprocessing function (7:41 - How to use preprocessing functions) and try rendering the block into a variable there, then using it in the page template file.
The other approach would be to set up a separate region for the login block area and add the block to it via the block interface or the Context module.
Let me know if that points you in the right direction.
Cheers!
Chris