Customize User Login From

1 reply [Last post]
iarnous
Offline
Last seen: 10 years 20 weeks ago
Joined: 2011-11-10

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.

Chris Shattuck
Offline
Last seen: 10 weeks 4 days ago
Joined: 2009-08-16
Hi there, Good question.

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

Add to playlist

Add to , or

Add to new playlist:

Add to playlist
This is a member-only feature
But, it's easy to become a member

Add to cart:


Loading...
Contact us

Below are the supported keyboard shortcuts for our video player.

space
Start / stop video
shift
Go to next video
shift
Go to previous video
Increase or decrease player speed by 20%
Skip ahead or go back by 15 seconds
1...9
Jump to a percentage (2 is 20%, for example)
f
Toggle full screen
Videos Pricing More Search
BuildAModule Logo Icon BuildAModule Logo Icon
Become a member!
$29
1 month
$156
6 months
10% off
$276
12 months
20% off
All memberships come with the following:
24 / 7 access to the entire 1800+ video library
An innovative video player with a rolling transcript
Extensive Drupal and cross-platform training
A thorough and thoughtful training style
Progress tracking
Take notes on specific video sections
Intuitive multi-user management
How many users?
user
Go solo with a single user, or give multiple team members access through one account and get discounts by bundling multiple users into a single membership.