Quantcast
Channel: drupal.org - Site administrators
Viewing all articles
Browse latest Browse all 426

Creating a minimalist Login Screen

$
0
0

How it would look like!

PM Vista minimalist login screen.jpg

Requirements:

  1. Delta Module
  2. Context
  3. Omega tools ( optional for visual debugging)

Steps:

1. Create a new Delta for PM Vista Theme:

  • Using Delta ui create a new delta for PM Vista theme.
  • Hide the User region 1 and User region 2 by assigning region none to both of them. After that change the grid width for Branding region to 12.
  • Also give a class "logo-center" to the region.
  • Hide sidebar from the content region too.
  • Save the delta.

2. Create a new context for anonymous user login:

  • Using context ui, create a new context.
  • Add triggers as role= anonymous user, and path= "user", "user/*" and optionally "" if the login page is also the front page for the anonymous user.
  • Create a reaction to the context as Delta and select the delta you had created in the earlier step.
  • Save the context.

3. Test if the context are getting triggered:

  • Using another browser test if the delta is triggered for the login pages.
  • Make necessary adjustments if required to suite your needs.
AttachmentSize
PM Vista minimalist login screen.jpg122.21 KB

Viewing all articles
Browse latest Browse all 426

Trending Articles