Followed topics feed

Story

Students should see recent content from topics they are following.

Implementation

Following flag

"Following" the topic is implemented with the Flag module.

Configuring the flag for the topics vocabulary adds the flag button to manage display.

Layout Builder Component Attributes lets us add a float-right utility class.

Followed topics view

  1. Create a view listing content.
  2. Set the path to user/%user/followed-topics.
  3. Relate to topics taxonomy.
  4. Relate to Following flags.
  5. Add a contextual filter for user id.
  6. Add a menu tag, using my account as the parent link.

Now you should have a view that lists content tagged with topics followed by the user.