Hi, I saw your comment (http://drupal.org/node/271203#comment-884418) about this module and thought I could use it to limit who can have certain tabs on their profile depending on their role. I installed this module but can't figure out how to do this with the module. Any help would be greatly appreciated. Thanks.
Comments
Comment #1
a_c_m commentedThis module applies the role a person has to their bio content type.
You could then in the tpl or using another module, restrict access or change display based on the taxonomy term applied to the bio content type... e.g. (continuing the example on the project page) red users could have a link to the red's custom menu linking to gallery and homepage, while the blues who haven't set anything up get nothing.
please close if this answers your question.
Comment #2
fehin commentedI have a tab that my views generated. I only want it to show on a user's profile if the user is in a certain role. Can I use this module with views to limit where this tab shows? Thanks in advance.
Comment #3
a_c_m commentedNo, this module alone will not do what you need.
All this modules does is apply taxonomy terms to the users profile node e.g. if the user has the "Admin" role their bio node will be given a "Admin" taxonomy term.
You need to find a way to restrict the tabs shown by views based on the taxonomy of the node currently being displayed, or do it "by hand" in the theme layer.