1

So there are a few threads that might be my answer, but it doesn't seem like the modules are for Drupal 8.

So what I'm trying to do is to create a page that filters its content to display only content that references the user without building a new page per person.

The webpage itself would read as something along the lines of the following. http://www.website.com/UserSpecific/ However, if the user didn't have any content referencing them the page would be empty. However, if they had content referencing them they would be able to view that content, and no other user would be able to.

Is that how the system works to begin with in Drupal 8 so long as it's referencing a particular user? Or is there another step in getting this done?


The threads I'm referring to are the following. Tag users in a content field to create user-specific content listings

How to display content for specific user

  • 3
    Yep you can do that out-of-the-box – Clive Nov 22 '16 at 19:29
  • Is there any sort of documentation or indicator on how to do this? Or would you mind helping describe the process for me? – Christopher Gergler Nov 22 '16 at 19:30
  • 1
    The accepted answer on the 2nd question you linked to should be all you need, the structure/UI for views hasn't really changed since D7 – Clive Nov 22 '16 at 19:32
  • 1
    That should work in the same in way in 8.x. Views and reference fields are in core, you don't need anything else. – Berdir Nov 22 '16 at 19:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.