How do I add the user login screen (http://localhost/user/login" to a node so that when I access that node (http://localhost/node/NN), I get the login screen? I think this is essentially referencing another node, which I thought could be done with [node:user/login], but that doesn't seem to be working for me. I thought I had found on the drupal site how to do this, but the search results are not returning what I remember. I apologize for my poor memory. Thanks for any tips.
-- Jiann-Ming Su "I have to decide between two equally frightening options. If I wanted to do that, I'd vote." --Duckman "The system's broke, Hank. The election baby has peed in the bath water. You got to throw 'em both out." --Dale Gribble
Are you just trying to get that form to show up at a different URL? You can use path.module for that to effectively "rename" user/login. You can, of course, also just have the login block on the desired page(s).
Can you be more specific about what you're trying to do?
On Friday 03 February 2006 23:11, Jiann-Ming Su wrote:
How do I add the user login screen (http://localhost/user/login" to a node so that when I access that node (http://localhost/node/NN), I get the login screen? I think this is essentially referencing another node, which I thought could be done with [node:user/login], but that doesn't seem to be working for me. I thought I had found on the drupal site how to do this, but the search results are not returning what I remember. I apologize for my poor memory. Thanks for any tips.
-- Jiann-Ming Su "I have to decide between two equally frightening options. If I wanted to do that, I'd vote." --Duckman "The system's broke, Hank. The election baby has peed in the bath water. You got to throw 'em both out." --Dale Gribble
On 2/4/06, Larry Garfield larry@garfieldtech.com wrote:
Are you just trying to get that form to show up at a different URL? You can use path.module for that to effectively "rename" user/login.
I did figure that out. If all else fails, this may be what I have to settle for.
You can, of course, also just have the login block on the desired page(s).
Yeah, this isn't quite it either, because the "login block" will still be in the "fixed" location that you specify the block to be at under Administer->blocks.
Can you be more specific about what you're trying to do?
Basically, I want to create a page/node so that when you access it, it shows you the username and password text fields. You may be asking, how's this different than simply doing a url alias to http://localhost/user/login? I'm hoping to customize the look of the user login screen.
If I do the url aliasing, then I can customize a node, add a "click here to login" link, which then simply points them to the http://localhost/user/login. This seems kind of silly. Seems like if the node can have a link to the login page, then why not simply display the login prompt?
I hope I've clarified what I'm asking. Thanks for your effort. -- Jiann-Ming Su "I have to decide between two equally frightening options. If I wanted to do that, I'd vote." --Duckman "The system's broke, Hank. The election baby has peed in the bath water. You got to throw 'em both out." --Dale Gribble
Jiann-Ming Su wrote:
Basically, I want to create a page/node so that when you access it, it shows you the username and password text fields. You may be asking, how's this different than simply doing a url alias to http://localhost/user/login? I'm hoping to customize the look of the user login screen.
If I do the url aliasing, then I can customize a node, add a "click here to login" link, which then simply points them to the http://localhost/user/login. This seems kind of silly. Seems like if the node can have a link to the login page, then why not simply display the login prompt?
I hope I've clarified what I'm asking. Thanks for your effort.
Look at the logintoboggan module?
On 2/4/06, Earl Miles merlin@logrus.com wrote:
Look at the logintoboggan module?
Yeah, except I'm using 4.6.5 (http://drupal.org/node/34309). I think I'll just create a link to http://localhost/user/login on the new node I'm creating. Thanks for all the tips.
-- Jiann-Ming Su "I have to decide between two equally frightening options. If I wanted to do that, I'd vote." --Duckman "The system's broke, Hank. The election baby has peed in the bath water. You got to throw 'em both out." --Dale Gribble
On Saturday 04 February 2006 01:55, Jiann-Ming Su wrote:
On 2/4/06, Earl Miles merlin@logrus.com wrote:
Look at the logintoboggan module?
Yeah, except I'm using 4.6.5 (http://drupal.org/node/34309). I think I'll just create a link to http://localhost/user/login on the new node I'm creating. Thanks for all the tips.
Another possibility is to move the login block.
In 4.6 you can use Flexiblock, or in 4.7 you have a lot more options for placing a block. Position the login block into the "Content (bottom)" area (in 4.7, or one of your creation in 4.6), then set it to show only on the one path, then style it via CSS to whatever you want. Actually in 4.7 you can override the form's theme function directly. That would have the effect of the "login block" appearing below your own content on just one page, while user/login would continue to function normally.
Would that work for what you're trying to do?
Hi,
On Sat, 2006-02-04 at 00:11 -0500, Jiann-Ming Su wrote:
How do I add the user login screen (http://localhost/user/login" to a node so that when I access that node (http://localhost/node/NN), I get the login screen? I think this is essentially referencing another node, which I thought could be done with [node:user/login], but that doesn't seem to be working for me. I thought I had found on the drupal site how to do this, but the search results are not returning what I remember. I apologize for my poor memory. Thanks for any tips.
You can't actually add a user login to a node. But what you can do is use something simple_access to restrict access to users with a certain role.
Gordon.
Jiann-Ming Su wrote:
How do I add the user login screen (http://localhost/user/login" to a node so that when I access that node (http://localhost/node/NN), I get the login screen? I think this is essentially referencing another node, which I thought could be done with [node:user/login], but that doesn't seem to be working for me. I thought I had found on the drupal site how to do this, but the search results are not returning what I remember. I apologize for my poor memory. Thanks for any tips.
Enable the user login block for that node, in administer >> blocks -- you can tell it to only be on certain pages. Is that what you want?
Op zaterdag 04 februari 2006 06:11, schreef Jiann-Ming Su:
How do I add the user login screen (http://localhost/user/login" to a node so that when I access that node (http://localhost/node/NN), I get the login screen? I think this is essentially referencing another node, which I thought could be done with [node:user/login], but that doesn't seem to be working for me. I thought I had found on the drupal site how to do this, but the search results are not returning what I remember. I apologize for my poor memory. Thanks for any tips.
I Might misunderstand your question. But AFAIK you can simply copy and paste the HTML from the /user/login page into a node. Did you already try that? Make sure you have the input format (Filter) configured so it allows all the required HTML tags.
Bèr