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
- User timeline with short posts
- User mentions
- Threads
- Likes
- Follow user posts
- Drush command for creating test users
- Easy to customize
-
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
- Views: liked_posts and posts_timeline can be customized
- "Posts" comment type can be customized