<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Customizing login form</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=754263215-26092006><FONT face=Arial 
color=#0000ff size=2>this is a pretty straightforward change.&nbsp; 
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=754263215-26092006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=754263215-26092006><FONT face=Arial 
color=#0000ff size=2>Disable the User Login block in administer blocks 
pages.&nbsp; </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=754263215-26092006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=754263215-26092006><FONT face=Arial 
color=#0000ff size=2>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.&nbsp; </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=754263215-26092006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=754263215-26092006><FONT face=Arial 
color=#0000ff size=2>For bonus points, you can write a php snippet that only 
displays your link if you're logged in.&nbsp;&nbsp; It would look something 
like: </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=754263215-26092006></SPAN><SPAN 
class=754263215-26092006><FONT face=Arial color=#0000ff 
size=2>if(!$user-&gt;uid) </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=754263215-26092006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=754263215-26092006><FONT face=Arial 
color=#0000ff size=2>You could put code like that in your theme's page.tpl file 
if you so desired. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=754263215-26092006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=754263215-26092006><FONT face=Arial 
color=#0000ff size=2>Hope I'm making sense. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=754263215-26092006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=754263215-26092006><FONT face=Arial 
color=#0000ff size=2>Dave</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> support-bounces@drupal.org 
[mailto:support-bounces@drupal.org] <B>On Behalf Of </B>Halter, 
Shari<BR><B>Sent:</B> Tuesday, September 26, 2006 8:15 AM<BR><B>To:</B> 
support@drupal.org<BR><B>Subject:</B> [support] Customizing login 
form<BR></FONT><BR></DIV>
<DIV></DIV>
<P><FONT face=Arial size=2>I am new to this list and have just begun using 
Drupal about 2 months ago.&nbsp; </FONT></P>
<P><FONT face=Arial size=2>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.</FONT></P>
<P><FONT face=Arial size=2>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.&nbsp; 
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?</FONT></P>
<P><FONT face=Arial size=2>Thanks.</FONT> </P><BR><BR>
<P><FONT face=Arial 
size=2>&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;</FONT> 
<BR><FONT face=Arial size=2>The information in this email and any attachments 
may contain</FONT> <BR><FONT face=Arial size=2>confidential information that is 
intended solely for the</FONT> <BR><FONT face=Arial size=2>attention and use of 
the named addressee(s).&nbsp; This message or</FONT> <BR><FONT face=Arial 
size=2>any part thereof must not be disclosed, copied, distributed or</FONT> 
<BR><FONT face=Arial size=2>retained by any person without authorization from 
the addressee.</FONT> <BR><FONT face=Arial size=2>If you are not the intended 
addressee, please notify the sender</FONT> <BR><FONT face=Arial 
size=2>immediately, and delete this message. </FONT><BR><FONT face=Arial 
size=2>&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;</FONT> 
</P></BODY></HTML>