I followed this thread which seems to suggest that the ability to show or hide a field group is possible based on role.
https://drupal.org/node/1324860
However, I cannot see in the documentation or the functionality of the module how this is accomplished.
The thread says that the functionality was submitted to Dev in August, and there has since been an update to the production on Sept 25. Was this functionality included in the Sept 25 release? Or is it still only part of Dev? Where can I learn more about how to take advantage of the functionality?
Basically, I'm looking to show or hide sets of fields based on role, just like Drupal core does with publication, menu settings, etc.
If this is not ready and there is another direction I should follow, please point me in the right direction.
Thanks!
Comments
Comment #1
nils.destoop CreditAttribution: nils.destoop commentedThe link in your issue is only a helper method for people to hide fieldgroups via code. There is no UI for this.
https://drupal.org/comment/5247876#comment-5247876 shows code to accomplish this via code.
Comment #2
g3r4 CreditAttribution: g3r4 commentedHowever, as a workaround, if you do not want to touch code, you can use https://www.drupal.org/project/field_permissions. Set the permissions for all the fields inside the Field group only for the role you want to show it, and when the content is seen by someone who does not have permission to see all the fields, since the Field group would be "empty" for that role, the Field group would not show.
Comment #3
simeSolution provided at #2
Comment #5
frank00511 CreditAttribution: frank00511 commentedMy experience has been even when you use Field permissions and remove visibility, the field group still shows on the user registration page.
Still haven't found a work-around.