简体   繁体   English

在Drupal中创建基于登录的网站

[英]Creating a login based website in Drupal

Im a Drupal beginner. 我是Drupal初学者。 I want to create a simple website, which has a login form. 我想创建一个具有登录表单的简单网站。 Users should be able to register on the website and then be able to login into it. 用户应该能够在该网站上注册,然后才能登录。 Can someone please provide some tips or point me to some resources online which can help me achieve this functionality ? 有人可以提供一些提示或为我提供一些在线资源来帮助我实现此功能吗?

Thank You 谢谢

All of this functionality is available out of the box with Drupal. 所有这些功能都可以与Drupal一起使用。

You can choose to have users self register, or for users to apply, subject to your approval. 您可以选择让用户自行注册,或供用户申请,但须经您的批准。

You'll need to configure permissions appropriately for "Authenticated Users", but that's not hard. 您需要为“经过身份验证的用户”适当配置权限,但这并不难。

The best place for you to start is the official documentation . 最好的起点是官方文档 I'd suggest you start with Understanding Drupal - you need to understand the terminology and what comes out of the box in order to succeed. 我建议您从了解Drupal开始-您需要了解术语和开箱即用的内容才能成功。

If you want to see how the register/login works then why not try signing up to the drupal.org community site, this should give you an idea http://drupal.org/ 如果您想查看注册/登录的工作方式,那么为什么不尝试注册drupal.org社区站点,则应该为您提供一个想法http://drupal.org/

Next you will need to find out your hosts mail options - as im guessing you will want an email sent out upon registration 接下来,您将需要查找主机的邮件选项-因为我想您会希望在注册时发送一封电子邮件

The login/register functionality comes in-built with drupal, you will just need to sign up as an admin yourself first and if you have the email set up correct you should be able to carry out a test registration. 登录/注册功能是drupal内置的功能,您只需要先以管理员身份注册即可,如果您设置的电子邮件正确无误,则应该可以进行测试注册。

There is also an acl module for group user access control http://drupal.org/project/acl 还有一个用于组用户访问控制的acl模块http://drupal.org/project/acl

Hope it helps 希望能帮助到你

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM