Tamer Zoubi @ Drupal 8


Drupal expert | Programmer

theming

Theming Drupal 7 user login page

Since I didn't find a good tutorial for theming the Drupal login page I wrote one here.

Getting a page template for the user login page should be as easy as copying your page.tpl.php file and renaming it to page--user-login.tpl.php. Problem is when I tested this It didn't run on /user but only on /user/login page. To get the same template file to run on both you must add to your template.php:

Tags
Drupal 7
theming