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 Profiles (Moderator: Dave Greenberg) »
  • Opt in for different groups on different profiles
Pages: [1]

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

avanoers

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 0
Opt in for different groups on different profiles
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

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: Opt in for different groups on different profiles
July 01, 2010, 09:31:23 pm

you might want to start by reading:

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

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

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
July 31, 2012, 04:28:22 am
Quote from: avanoers on July 01, 2010, 08:16:26 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?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Opt in for different groups on different profiles

This forum was archived on 2017-11-26.