0

I am new to Drupal and have recently started using Drupal 8. I am creating a website to act as a business profile. One of the main content of this website is the profiles of the team members. I'd like one of the items of the main menu to be 'team members' and it should drop down into list of members. The link of the top menu item should show a page with a summary of all members and the sub-menu items each should show a full article about a single member.

What I've tried so far is:

1- Create a user for each member, and I've added some fields as full name, etc. I'v created a view to show all users. The problem I faced with this solution is: The view to list users cannot be seen by anonymous. The other issue is I couldn't filter this view to only show team members, for example it also shows 'admin'

2- The second approach was to create a content type called 'Team members' with fields like full name, image, etc. I am not sure if this is the correct approach. For instance the field 'Title' is an obligatory field that doesn't make sense for a team member.

What is the correct way to add such a feature to my website.

1 Answer 1

0

Stick with 1: In your view at the top where it says Access: Permissions. Click on permission and change that to Role; in FILTER, add a filter of Role.

10
  • thanks for the fast answer :) - For my education, can I know why 2 is the wrong way to go?
    – Bishoy
    Commented Nov 13, 2015 at 9:20
  • Actually, now that I think about it. If the team members are not going to be login in into the site. Then approach 2 would be a good one.
    – No Sssweat
    Commented Nov 13, 2015 at 9:49
  • Since they won't be filling in their own profiles. Admin would be filling out all their bios and stuff.
    – No Sssweat
    Commented Nov 13, 2015 at 9:50
  • While on approach on 1. If all team members are getting a user name and pass to log in. They can fill out their bio themselves. If you have 100 team members this would save Admin a lot of time in creating and filling out each member profile.
    – No Sssweat
    Commented Nov 13, 2015 at 9:51
  • hmm... although, you could let temporarily anonymous users add nodes of "Team Member" content type, and have them fill it out themselves without giving them a user and pass.
    – No Sssweat
    Commented Nov 13, 2015 at 9:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.