Closed (duplicate)
Project:
nodeprofile privacy
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2007 at 16:47 UTC
Updated:
19 Dec 2008 at 14:09 UTC
Enabled users to show/hide a link field but the form checkbox does not show when editing their nodeprofile. The field is in the nodeprofile_privacy_fields table, too.
Comments
Comment #1
coltraneThe form element is lost in nodeprofile_privacy_match_fields() because if I comment out the pre_render addition in nodeprofile_privacy_form_alter() then the checkbox appears (though not next to its corresponding field of course).
I'm not certain what a correct overall fix is yet, but if I add in the privacy option a level lower in the related field of type link then it works correctly. It has to do with how link fields are created in the form. Adding the privacy option at the top level doesn't show, but putting it in at element 0 does.
Comment #2
smitty commentedPlease have a look at: http://drupal.org/node/349115