Author Topic: Opt in for different groups on different profiles  (Read 462 times)

Offline avanoers

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
Opt in for different groups on different profiles
« on: July 01, 2010, 08:16:26 am »
Hello,

We have two profiles that complete the membership registration. One profile for the organization which links to the second profile which is the employee.

We also have three public groups:
Directory group that lists the organzation on our website
Events group that emails employees about our upcoming events
Newsletter group which emails employees our newsletter.

The Directory group needs to have an opt in/out on the organizational profile
The two groups Events and Newsletter need to be on the employee profile and people need to be able to select one or both.

Currently I can't seem to be able to do this as I can only put all the groups on a profile.
I've read that you can achieve this with a hook but would like further help on how to do that.

Thanks

Offline Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 14701
  • Karma: 440
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Opt in for different groups on different profiles
« Reply #1 on: July 01, 2010, 09:31:23 pm »

you might want to start by reading:

http://en.flossmanuals.net/CiviCRM/DevelopIntro

lobo
Found this reply helpful? Contribute NOW and help improve CiviCRM with the Make it Happen! initiative.

Offline opdavies

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal
  • PHP version: 5.3
Re: Opt in for different groups on different profiles
« Reply #2 on: July 31, 2012, 04:28:22 am »
Currently I can't seem to be able to do this as I can only put all the groups on a profile.
I've read that you can achieve this with a hook but would like further help on how to do that.

I need to do the same thing. Did you manage to do this?