drupalninja/social
Composer 安装命令:
composer require drupalninja/social
包简介
Twitter style social features for Drupal.
README 文档
README
This composer feature configures user profile pages to act like user timelines, similar to Twitter and other social media applications.
Read full tutorial: https://medium.com/@drupalninja/create-a-twitter-style-application-in-drupal-8207e4aaef96
Key Features
- User timeline with short posts
- User mentions
- Threads
- Likes
- Follow user posts
- Drush command for creating test users
- Easy to customize
Quick start
-
Install CKEditor libraries for mentions
Follow CKEditor README instructions to install required libraries https://git.drupalcode.org/project/ckeditor_mentions/-/blob/8.x-2.x/README.md
-
Install the Social feature module
composer require 'drupalninja/social:1.x-dev' -
Enable Social feature
drush en -y social
-
Place Timeline block
If you are not using the Olivero theme then you will need to place the Timeline block using either Block layout or Layout builder onto the user page.
-
Create test users with comments
Included in this feature is a drush command that will generate test users and comments.
drush sdu
Customizing
- Views: liked_posts and posts_timeline can be customized
- "Posts" comment type can be customized
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2022-10-05