CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • How do I allow contacts in a certain group to edit their own contact info.
Pages: [1]

Author Topic: How do I allow contacts in a certain group to edit their own contact info.  (Read 1526 times)

maarten

  • Guest
How do I allow contacts in a certain group to edit their own contact info.
December 05, 2007, 02:20:25 pm
How do I allow members of a group to update their own contact info, when they go to their "My account" page on the drupal site.

(eg As an administrator I can see "» View Contact Record" in the my account page. How can I make that link available to drupal users, who are part of a civiCRM contact group)

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: How do I allow contacts in a certain group to edit their own contact info.
December 05, 2007, 02:39:25 pm
You might want to use CiviCRM Profile  to allow drupal users to update their information in CiviCRM.

http://wiki.civicrm.org/confluence/display/CRMDOC/Profiles

kurund
Found this reply helpful? Support CiviCRM

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: How do I allow contacts in a certain group to edit their own contact info.
December 05, 2007, 04:26:15 pm
By marking Used For: "View/Edit User Account" in a profile's settings - the contact fields you include in the profile will be editable from the user's My Account area. This is one good way of accomplishing the above.
Protect your investment in CiviCRM by  becoming a Member!

maarten

  • Guest
Re: How do I allow contacts in a certain group to edit their own contact info.
December 13, 2007, 06:30:58 am
I've created a profile and it is visible for Drupal users as a tab on their "my account" page.

What I really need is a different profile depending on what group the CiviCRM contact (matching the drupal user) is part of.

eg: When a staff member goes to his my account page, he will see a tab that's only visible for staff members.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: How do I allow contacts in a certain group to edit their own contact info.
December 13, 2007, 07:08:05 am

You will need to hack the code to do the below

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: How do I allow contacts in a certain group to edit their own contact info.
December 13, 2007, 10:52:49 am
Alternatively you could remove the profile from My Account, and create a separate Profile for each group. Then permission the profile to the group using ACLs... and finally use Drupal permissioning to (or perhaps a CiviCRM hack?) to include a link / menu item pointing to the appropriate Profile for the logged in user >> "Update my information".
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • How do I allow contacts in a certain group to edit their own contact info.

This forum was archived on 2017-11-26.