Allow user's to edit thier own panels
Steven Jones - September 16, 2009 - 09:42
| Project: | Advanced Profile Kit |
| Version: | 6.x-1.x-dev |
| Component: | Documentation |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
Does this module allow user's to edit their own panel so they can add and remove content and move it around? Is the module built to allow this sort of additional functionality?

#1
No, it doesn't. The dashboard module will cover this when it's finished. In the mean time, there's homebox which is a similar idea.
Michelle
#2
Automatically closed -- issue fixed for 2 weeks with no activity.
#3
I don't care too much about moving stuff around but I'm importing 18,000 user profiles tonight with lots of personal information. Quite a few of the profiles are professional contact information for businesses and the rest are people who might want their information private.
Under user management -> profiles I divided up the information into groups, i.e. Address, contact, name information, job information, business information. With each field group I add a checkbox which asks if this group of information should stay private. (The information is very useful the company that owns the website so can't suggest that the user just leaves it out.) The machine name for the check box fields are profile_address_visible and profile_contact_visible ect.
Make sure to click the Private field, content only available to privileged users visibility setting.
After the fields are created go to site building->panels->user profile panel->content->add content ->advanced profile kit->user profile category -> user being viewed -> address and add it the pane.
Click content->address's little configuration gear -> add new visibility rule -> php code and put this code in if you are using profile_address_visivle for example.
$object = $contexts ['argument_uid_1'];$object = $object->data;
return $object->profile_address_visible;
Bam! Now your users can chose to not show private information while you are still able to collect that information for private office purposes.
Michelle, once again thanks for your hard work. I thought this might be useful. I couldn't find any information about it any where else. I'm so busy I didn't want to take the time to write this. However, thinking about how your a mom building all these fantastic modules made me feel guilty. I hope I'm not repeating something someone else has said before and that this might help someone wondering how to let people toggle personal profile information on and off.
Since things don't get formatted the same through panels you can add a little css to clean things up. Here's mine.
/* hide profile visibility toggle */.profile-profile-profile_name_visible, .profile-profile-profile_contact_visible, .profile-profile-profile_address_visible {display:none;}
#4
Thanks for writing this up. I'll see about doing a handbook page with privacy options. It's something I need to investigate for my own site but probably not for a month or so.
Michelle