Hi all,
the page ?q=user is duplicated of ?q=user/login when user is not logged in.
This creates problems while theming, in fact you can rewrite the form easily, but if you have two completely different layouts for the two pages you get difficulties theming ?q=user.

Why not making things easier redirecting ?q=user to ?q=user/login when the user is not logged in?
Or maybe better and less difficult, give just 'user_access' to the ?q=user page.

Comments

ingo86’s picture

Title: Theming the ?q=user and ?q=user/login page... » Theming the ?q=user and ?q=user/login page
Category: support » task
Anonymous’s picture

The user/login/ is the MENU_DEFAULT_LOCAL_TASK of the user/ MENU_CALLBACK. The user/login/ actually calls the same page callback as user/ and is a functioning of the menu system and not the user system. Perhaps the bug is that the user/login/ persists and doesn't redirect to user/ but again it is the menu system and not the user system at play. I'll let others decide if they want to mark it as "by design".

jody lynn’s picture

Status: Active » Closed (works as designed)

Theming should not be url-based anyway.