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) »
  • Managing multiple newsletter subscriptions
Pages: [1]

Author Topic: Managing multiple newsletter subscriptions  (Read 723 times)

palladio

  • Guest
Managing multiple newsletter subscriptions
December 06, 2010, 03:48:33 pm
Greetings all,

Our requirement is common for many groups. We need to allow users to signup for one or more email newsletters or print magazines and be able to manage their own subscriptions - subscribe and unsubscribe from any one of a set of itesm at any time.

I understand the way to do this in  CiviCRM is by using a profile with a groups item, where the groups are set as being public. This is fine as far as it goes, but if we have a set of say ten groups for newsletters these appear on the profile form and all is well and good. However, if we add another public group that is unrelated to subscriptions, such as a group for 'volunteer to clean up the office day' it also appears and there seems to be no way to restrict the set of groups that can show on a profile form when the Group(s) item type is selected as a field.

I feel sure many organisations have a requirement to manage magazine and newsletter subscriptions, and this must be a common thing to want to do in CiviCRM.

Can this be done in CiviCRM, or are there better tools or extensions available?

We are using CiviCRM 3.2 and Joomla 1.5.

Thanks all for any assistance.

Andrew

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Managing multiple newsletter subscriptions
December 06, 2010, 05:21:15 pm
There's a built-in form you can offer to constituents which ONLY exposes public groups w/ Group Type = Mailing List. It looks like we don't expose this in the Menu Manager for Joomla! but I think you can use the URL pattern directly. On the public demo (so you can see what it looks like):

http://joomla.demo.civicrm.org/index.php?option=com_civicrm&task=civicrm/mailing/subscribe&reset=1
Protect your investment in CiviCRM by  becoming a Member!

palladio

  • Guest
Re: Managing multiple newsletter subscriptions
December 06, 2010, 06:01:41 pm
Quote from: Dave Greenberg on December 06, 2010, 05:21:15 pm
There's a built-in form you can offer to constituents which ONLY exposes public groups w/ Group Type = Mailing List. It looks like we don't expose this in the Menu Manager for Joomla! but I think you can use the URL pattern directly. On the public demo (so you can see what it looks like):

http://joomla.demo.civicrm.org/index.php?option=com_civicrm&task=civicrm/mailing/subscribe&reset=1


Greetings,

Thanks for this information, it's most useful.

Still, it does not quite address the issue - we need to be able to show a restricted list of groups, not _all_ mailing list groups. Some mailing list groups, for example, to council members, are not suitable for public subscription.

Does one have to write code to do this sort of thing?

And, apologies, I realise this thread should go under the Profiles section of the forum, but I don't know if it is possible to move it.



Rajan Mayekar

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 20
    • Rajan's Blogs
Re: Managing multiple newsletter subscriptions
December 06, 2010, 07:52:55 pm
Quote
Does one have to write code to do this sort of thing?
I think yes, you need to implement hook_civicrm_buildForm( $formName, &$form ).
http://wiki.civicrm.org/confluence/display/CRMDOC32/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmbuildForm
 
Using this hook you can set/unset the groups according you your requirements ( groups will be available as form elements in $form ).

Rajan


petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Managing multiple newsletter subscriptions
December 06, 2010, 09:59:43 pm
Or just use a custom data field and build Smart Groups from it.

But hope you spotted Dave's constraint that Mailing Lists needed to be set to Public to work for Newsletter - why would you set your Council Member Mailing List to be public?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Managing multiple newsletter subscriptions

This forum was archived on 2017-11-26.