I need to have a login page 'only' (without menus logos or themes) when users are not logged in.
Path is www.mywebsite.com/login

Additional data below (Drupal 6.x)
Them Folder Contains:

  • mytheme.css
  • mytheme.js
  • mytheme.info
  • node.tpl.php
  • page.tpl.php
  • page-login.tpl.php
  • user-login.tpl.php
  • template.php

template.php

<?php
  /**
   * This snippet will register a theme implementation of the user login form.
   * Drupal 6.x only!
   * Replace 'mytheme' with the name of your theme.
  */
function mytheme() {
  return array(
    'user_login' => array(
      'template' => 'user-login',
      'arguments' => array('form' => NULL),
    ),
  );
}
?>

user-login.tpl.php AND page-login.tpl.php contains the same code:
www.mywebsite.com/user/login -> WORKS
www.mywebsite.com/login -> DOES NOT WORK

PLEASE HELP
Thank you!

Comments

drupalfantwo’s picture

bump

geekglue’s picture

One option is to have a separate theme for the login page and use a module like ThemeKey (http://drupal.org/project/themekey) to make your site use that theme for your login page.