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 CiviMail (Moderator: Piotr Szotkowski) »
  • Newsletter checkbox on registration and newsletter archives...
Pages: [1]

Author Topic: Newsletter checkbox on registration and newsletter archives...  (Read 5750 times)

zmove

  • Guest
Newsletter checkbox on registration and newsletter archives...
May 25, 2007, 07:10:48 am
Hi all,

I have some problems to understand how civimail works. So I have several questions :

- How can I put a checkbox on user registration to ask to user if he want to subscribe newsletter (or not ?)
- How can I create a page on my site to list newsletter archives.
- Can I put a bloc on my site for non register user that want to receive newsletter. (a bloc with just a field that ask email).

It is possible with civimail or I have to use another module like Simplenews

thanks

zmove

geilhufe

  • I post frequently
  • ***
  • Posts: 293
  • Karma: 33
    • Social Source Software
Re: Newsletter checkbox on registration and newsletter archives...
May 25, 2007, 08:21:15 am
It takes a little more, but it works in Drupal:

Checkbox
1. Create a custom field "Subscribe to the newsletter" Y/N
2. Expose it in a profile for user registration & edit (now users manage their own subscriptions)
3. Create a smart group of all the folks that answer Y
4. Send your newsletter to that smart group.

Archive:
1. Create a Drupal CCK node for newsletters. Use a date field, body field, etc.
2. Compose you HTML newsletter
3. Upload it into CiviMail
4. Create drupal newsletter node with the HTML
5. Expose your archive using a calendar view or whatever other view you want.

Newsletter sign up:
1. Use the stand alone profile HTML in a Drupal block.
Drupal and CiviCRM consulting, strategy and configuration
http://www.social-source.com/

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Newsletter checkbox on registration and newsletter archives...
May 25, 2007, 08:29:39 am
If you are considering use of CiviMail you should first make sure you can meet the install requirements - which include PHP5 with SOAP, abiility to install the Amavis return channel component, and ability to install and configure Postfix. This is not possible on many hosting services.

http://wiki.civicrm.org/confluence/display/CRM/CiviMail+Installation

If these requirements aren't a problem...
Quote
- How can I put a checkbox on user registration to ask to user if he want to subscribe newsletter (or not ?)
- How can I create a page on my site to list newsletter archives.
- Can I put a bloc on my site for non register user that want to receive newsletter. (a bloc with just a field that ask email).

CiviMail "subscribers" are members of a CiviCRM group. You can allow users to signup (e.g. join a group) using CiviCRM Profiles which can be inserted into Drupal User Registration, exposed as standalone forms in a block or page. You can explicitly include a "Groups" field with checkboxes for each of your public groups (if you have multiple "newsletters" for instance). Or you can use the Profile "settings" - "Add Contacts to Group".

You should review the documentation on CiviCRM profiles for more details:

There is currently no way (AFAIK) to expose newsletter archives in CiviCRM. You could post your newsletters as drupal content pages however and create a links/listing page. We hope to strengthen integration between CiviMail mailing content and our host CMS content in future releases. I believe simplenews does this nicely - so you might want to use that tool if this is a key requirement.
Protect your investment in CiviCRM by  becoming a Member!

cma01

  • I’m new here
  • *
  • Posts: 26
  • Karma: 2
    • Legacy Marketing Services
Re: Newsletter checkbox on registration and newsletter archives...
July 08, 2007, 03:12:26 pm
I was trying to look at the requirements for Civimail and I can't get any of the wiki links to load.  Is it down?
web design kingwood  | Joomla development

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: Newsletter checkbox on registration and newsletter archives...
July 08, 2007, 05:47:35 pm

should be back up now

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

Jochen

  • Guest
Re: Newsletter checkbox on registration and newsletter archives...
December 21, 2007, 10:01:24 am
Hi,

I am having a little bit of trouble getting item #3 to work properly ( a standalone block for civiMail subscriptions). I have created a civiCRM Profile (crm 1.9, drupal 5.5) and set it up as follows:

- name: standalone newsletter registration
- used for: user registration + profile
- active: yes
- Limit listings to a specific Group?: not selected
- Add new contacts to a Group?: my subscriber group
- nothing else checked in advanced settings
- fields: last name (individual), primary email (individual)

So then I took the standalone HTML and pasted it into a drupal posting.

Now when I log out of the site and try to submit a test name and email, I get a non-recoverable error:

'This profile is not configured for the requested action. Contact the site administrator if you need assistance.'

Please advise
thanks
- j

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: Newsletter checkbox on registration and newsletter archives...
December 22, 2007, 02:26:34 pm

Can you reproduce this on our demo server. You could host the standalone form on any public web server and post to our demo machine (for the purposes of reproducing the issue).

If you do reproduce, please file an issue against 2.0 along with steps on how to reproduce

thanx

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

Jochen

  • Guest
Re: Newsletter checkbox on registration and newsletter archives...
December 26, 2007, 08:34:40 am
Hi Lobo,

I added the standalone profile to the demo server as profile id #30. ON my site I have then taken the standalone code and created a posting with it, which does not work when the form is submitted. THe civiCRM demo-server produced this code for the standalone form:

Code: [Select]
<form  action="http://demo.civicrm.org/drupal/civicrm/profile/edit&amp;gid=30&amp;reset=1" method="post" name="Edit" id="Edit" >


  <div><input name="postURL" type="hidden" value="" />
<input name="cancelURL" type="hidden" value="http://demo.civicrm.org/drupal/civicrm/profile?reset=1&amp;gid=30" />
<input name="group[2]" type="hidden" value="1" />
<input name="_qf_default" type="hidden" value="Edit:cancel" />
</div>


<script type="text/javascript" src="http://demo.civicrm.org/drupal/sites/all/modules/civicrm/js/Common.js"></script>
<div id="crm-container" lang="en" xml:lang="en">

       
    <div id="id_30_show" class="section-hidden section-hidden-border"><a href="#" onclick="hide('id_30_show'); show('id_30'); return false;"><img src="http://demo.civicrm.org/drupal/sites/all/modules/civicrm/i/TreePlus.gif" class="action-icon" alt="open section"/></a><label>subscriber-test</label><br /></div><div id="id_30"><fieldset><legend><a href="#" onclick="hide('id_30'); show('id_30_show'); return false;"><img src="http://demo.civicrm.org/drupal/sites/all/modules/civicrm/i/TreeMinus.gif" class="action-icon" alt="close section"/></a>subscriber-test</legend><div class="messages help">test: http://forum.civicrm.org/index.php?topic=294.new;topicseen#new</div><table class="form-layout-compressed"><tr><td class="label"><label for="last_name">  Last Name
   <span class="marker" title="This field is required.">*</span>
</label></td><td><input maxlength="64" size="30" name="last_name" type="text" id="last_name" class="form-text big required" /></td></tr><tr><td class="label"><label for="email-Primary">  Email (Primary)
   <span class="marker" title="This field is required.">*</span>
</label></td><td><input maxlength="64" size="30" name="email-Primary" type="text" id="email-Primary" class="form-text big required" /></td></tr><tr><td class="label"></td><td></td></tr></table></fieldset></div><div class="crm-submit-buttons"><input class="form-submit default" name="_qf_Edit_next" value="Save" type="submit" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input class="form-submit default" name="_qf_Edit_cancel" value="Cancel" type="submit" /></div>

</div>

<script type="text/javascript">
 
    var showBlocks = new Array('id_30');
    var hideBlocks = new Array('id_30_show');

        on_load_init_blocks( showBlocks, hideBlocks );
   
 
  </script>
 

</form>


emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Newsletter checkbox on registration and newsletter archives...
February 01, 2008, 08:09:05 am
Zmove,

You can use CiviCRM subscribe which functions very much like the SimpleNews block for adding an email: http://drupal.org/project/civicrm_subscribe

Also, for archives I wrote up step-by-step instructions to do this successfully here:
http://wiki.civicrm.org/confluence/display/CRMDOC/How+to+get+Public+Archives+with+Drupal+and+CiviMail

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Newsletter checkbox on registration and newsletter archives...
February 01, 2008, 10:17:05 am
As of 1.9 - you can also link folks to a built-in CiviCRM page at civicrm/mailing/subscribe?reset=1. This allows them choose one or more of your "public" mailing lists to subscribe to - and handles the opt-in automatically (it sends them email asking them to confirm / opt-in).
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Newsletter checkbox on registration and newsletter archives...

This forum was archived on 2017-11-26.