Drupal8 minimal Mode add comment form

来源:互联网 发布:怎么分辨淘宝客 编辑:程序博客网 时间:2024/06/11 15:36

Drupal8安装模式
standard: 标准模式默认安装40个模块,虽然方便使用,但是每一个模块都需要额外耗费一定的处理时间。
minimal: 极简模式只安装必须的10个核心模块。但是增加文章内容和文章评论需要自己设置。
下面介绍了

1-4 安装必须的模块及删除耗时长的模块

5-7 自定义文章及模块类型

8-9 增加文章内容并评论

  1. Install with minimal mode
  2. Install theme: Bartik(默认)
    a. http://server.net/admin/appearance
  3. Install module:
    a. Comment, Field UI, Views, BigPipe
    b. http://server.net/admin/modules
  4. Uninstall module:
    a. Update Manager
    b. http://server.net/admin/modules/uninstall
  5. Add Comment Type
    a. Target entity type: Content,设置为Content才能被使用
    b. http://server.net/admin/structure/comment/types/add
    c. Comment Type
    Comment Type
  6. Add Content type: Article
    a. http://server.net/admin/structure/types/add
    b. Content Type
    Content Type
    c. Comment Field
    Comment Field
  7. Add field and link with Comment type
    a. http://server.net/admin/structure/types/manage/article/fields
    b. Link content field with Comment type
    Link content field with Comment type
  8. Add content
    a. http://server/node/1
  9. Add comment
    a. http://server.net/node/1#comment-form
原创粉丝点击