[support] Adding the User Login to a Node?

Gordon Heydon gordon at heydon.com.au
Sat Feb 4 06:28:55 UTC 2006


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.




More information about the support mailing list