[support] Customizing login form
Metzler, David
metzlerd at evergreen.edu
Tue Sep 26 16:01:32 UTC 2006
this is a pretty straightforward change.
Disable the User Login block in administer blocks pages.
You can then create a piece of content, theme modidification or
otherwise by simply placing a simple link to "user/login" somewhere on
your site.
For bonus points, you can write a php snippet that only displays your
link if you're logged in. It would look something like:
if(!$user->uid)
You could put code like that in your theme's page.tpl file if you so
desired.
Hope I'm making sense.
Dave
________________________________
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Halter, Shari
Sent: Tuesday, September 26, 2006 8:15 AM
To: support at drupal.org
Subject: [support] Customizing login form
I am new to this list and have just begun using Drupal about 2 months
ago.
My project manager would like me to remove the user logon form (ID, PWD)
from the site, and replace this with a small and unobtrusive "admin
logon" hyperlink that would lead to the logon on a separate page.
I have found the code that seems to pertain to this in user.module, but
don't really know how I can facilitate this change. Has anyone written
something similar, or could someone tell me how to redirect the login
form so it isn't so prominent on the site?
Thanks.
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
The information in this email and any attachments may contain
confidential information that is intended solely for the
attention and use of the named addressee(s). This message or
any part thereof must not be disclosed, copied, distributed or
retained by any person without authorization from the addressee.
If you are not the intended addressee, please notify the sender
immediately, and delete this message.
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20060926/9e2aeaa8/attachment.htm
More information about the support
mailing list