官术网_书友最值得收藏!

Sample users and testing

Now, we have installed and configured the CKEditor, created two content types for the instructor blog, and assigned permissions to those content types. The next steps involve creating a test user for the instructor role and creating some sample content.

Adding new users

Click on the People link, or navigate to admin/people. Click on the Add user link, which brings you to admin/people/create.

When adding a new user, you will need to provide Username, E-mail address, and Password. You will also have the opportunity to add the user to a role. When adding users, you can also opt to send them an introductory e-mail; the content of this e-mail can be edited by clicking Configuration | Account settings link, or by navigating to admin/config/people/accounts.

Click on the Create new account button to submit the form and create the new user account.

Note

Drupal does not put restrictions on usernames or passwords by default, although it will estimate the strength of your password. Users can use their real name or a screen name. There are contributed modules, such as Password Policy (http://drupal.org/project/password_policy) and Real Name (http://drupal.org/project/realname) that can enforce your chosen policies.

Section summary

In the first section of this chapter, we have set up the basic functionality that will power the teacher blog. We have:

  • Installed and configured CKEditor and the text editor
  • Installed the modules required to create the teacher blog
  • Created two content types for the teacher blog
  • Assigned permissions to allow users in the teacher role to use the assignment and blog content types
  • Added a test user to the teacher role

To finish creating the Teacher blog, we need to complete two remaining steps:

  1. Add some sample blog posts and assignments.
  2. Create two views: one to display all posts from users in the teacher role and a second view to display assignments.
主站蜘蛛池模板: 博客| 墨玉县| 荔浦县| 博爱县| 建平县| 璧山县| 九江市| 香格里拉县| 驻马店市| 邯郸市| 宝清县| 屏边| 建宁县| 鄂托克旗| 宁强县| 淄博市| 威宁| 河间市| 闽侯县| 贵州省| 离岛区| 瓦房店市| 漳浦县| 桑植县| 临夏县| 遂溪县| 景谷| 攀枝花市| 丹凤县| 渭南市| 肇庆市| 宝应县| 瑞金市| 老河口市| 新泰市| 章丘市| 赣州市| 尚义县| 鄂托克旗| 崇左市| 石渠县|