You are here

README.txt in Simplenews 6

DESCRIPTION
-----------

Simplenews publishes and sends newsletters to lists of subscribers. Both
anonymous and authenticated users can opt-in to different mailing lists.
HTML email can be sent by adding Mime mail module.


REQUIREMENTS
------------

 * Taxonomy module
 * For large mailing lists, cron is required.
 * HTML-format newsletters and/or newsletters with file attachments require the
   mime mail module. 

INSTALLATION
------------

 1. CREATE DIRECTORY

    Create a new directory "simplenews" in the sites/all/modules directory and
    place the entire contents of this simplenews folder in it.

 2. ENABLE THE MODULE

    Enable the module on the Modules admin page:
      Administer > Site building > Modules

 3. ACCESS PERMISSION

    Grant the access at the Access control page:
      Administer > User management > Access control.

 4. CONFIGURE SIMPLENEWS

    Configure Simplenews on the Simplenews admin pages:
      Administer > Site configuration > Simplenews.

    Select the content type Simplenews uses for newsletters.
    Select the taxonomy term Simplenews uses to manage newsletter series.

 5. ENABLE SIMPLENEWS BLOCK

    With the Simplenews block users can subscribe to a newsletter. For each
    newsletter one block is available.
    Enable the Simplenews block on the Administer blocks page:
      Administer > Site building > Blocks.

 6. CONFIGURE SIMPLENEWS BLOCK

    Configure the Simplenews block on the Block configuration page. You reach
    this page from Block admin page (Administer > Site building > Blocks). 
    Click the 'Configure' link of the appropriate simplenews block.

    Permission "subscribe to newsletters" is required to view the subscription
    form in the simplenews block or to view the link to the subscription form.

 7. SIMPLENEWS BLOCK THEMING

    More control over the content of simplenews blocks can be achieved using
    the block theming. Theme your simplenews block by copying
    simplenews-block.tpl.php into your theme directory and edit the content.
    The file is self documented listing all available variables.

    The newsletter block can be themed generally and per newsletter:
      simplenews-block.tpl.php (for all newsletters)
      simplenews-block.tpl--[tid].php (for newsletter series tid)

 8. MULTILINGUAL SUPPORT

    Simplenews supports multilingual newsletters for node translation,
    multilingual taxonomy and url path prefixes.

    When translated newsletter issues are available subscribers receive the
    newsletter in their preferred language (according to account setting).
    Translation module is required for newsletter translation.

    Multilingual taxonomy of 'Localized terms' and 'per language terms' is
    supported. 'per language vocabulary' is not supported.
    I18n-taxonomy module is required.
    Use 'Localized terms' for a multilingual newsletter. Taxonomy terms are
    translated and translated newsletters are each taged with the same
    (translated) term. Subscribers receive the newsletter in the preferred
    language set in their account settings or in the site default language.
    Use 'per language terms' for mailing lists each with a different language.
    Newsletters of different language each have their own tag and own list of
    subscribers.
    
    Path prefixes are added to footer message according to the subscribers
    preferred language.

    The preferred language of anonymous users is set based on the interface
    language of the page they visit for subscription. Anonymous users can NOT
    change their preferred language. Users with an account on the site will be
    subscribed with the preferred language as set in their account settings.

9.  NEWSLETTER THEMING

    You can customize the theming of newsletters. Copy any of the *.tpl.php
    files from the simplenews module directory to your theme directory. Both
    general and by-newsletter theming can be performed.
    Theme newsletter body:
      simplenews-newsletter-body.tpl.php (for all newsletters)
      simplenews-newsletter-body--[tid].tpl.php (for newsletter series tid;
      where [tid] is replaced by the term id of the newsletter taxonomy term.
    Theme newsletter footer:
      simplenews-newsletter-footer.tpl.php (for all newsletters)
      simplenews-newsletter-footer--[tid].tpl.php (for newsletter series tid)
    The files are self documented listing all available variables.

    Using the Display fields settings each field of a simplenews newsletter can
    be displayed or hidden in plain text and/or HTML newsletters. You find
    these settings at:
      admin/content/node-type/my-node-type/display


10. SEND MAILING LISTS

    Cron is required to send large mailing lists. Cron jobs can be triggered
    by Poormanscron or any other cron mechanism such as crontab.
    If you have a medium or large size mailing list (i.e. more than 500
    subscribers) always use cron to send the newsletters.

    To use cron:
     * Check the 'Use cron to send newsletters' checkbox.
     * Set the 'Cron throttle' to the number of newsletters send per cron run.
       Too high values may lead to mail server overload or you may hit hosting
       restrictions. Contact your host.

    Don't use cron:
     * Uncheck the 'Use cron to send newsletters' checkbox.
       All newsletters will be sent immediately when saving the node. If not
       all emails can be sent within the available php execution time, the
       remainder will be sent by cron. Therefore ALWAYS enable cron.

    These settings are found on the Newsletter Settings page under
    'Send mail' options at:
      Administer > Site configuration > Simplenews > Send mail.

 11. (UN)SUBSCRIBE CONFIRMATION

    By default the unsubscribe link will direct the user to a confirmation page.
    Upon confirmation the user is directed to the home page, where a message
    will be displayed. On the Simplenews subscription admin page you can
    specify an alternative destination page.
      Administer > Site configuration > Simplenews > Subscription
    To skip the confirmation page you can add parameters to the subscription URL.
      Example: [simplenews-subscribe-url]/ok
    When an alternative destination page has been defined the extra parameters
    will be added to the destination URL.
      Example: [simplenews-subscribe-url]/ok
      Destination: node/123
      Destination URL: node/123/ok

 12. SINGLE OR DOUBLE OPT-IN AND OPT-OUT

    Every newsletter can be set to be double opt-in/out (default), single
    opt-in/out, or hidden.

    Double: A confirmation email is sent to confirm the (un)subscribe action.
            No confirmation is sent when a user is (un)subscribed by the
            administrator or when the user subscribes when creating an account.
    Single: No confirmation email is sent. (un)subscribe is immediately.
    Hidden: The newsletter is not listed in newsletter lists. Use this for
    mandatory newsletters. Only administrators or modules can add a user to this
    mailing list.

    Note that single opt-in/out or hidden (forced) subscription is in some
    countries forbidden by law.

    SECURITY NOTICE: a newsletter set to be single opt-in or opt-out is
    vulnerable to Cross Site Request Forgeries. Email addresses may be
    (un)subscribed without a notice. Do not use this setting in uncontrolled
    environments (like the internet!).

 13. TIPS

    A subscription page is available at: /newsletter/subscriptions

    If your unsubscribe URL looks like:
      http:///newsletter/confirm/remove/8acd182182615t632
    instead of:
      http://www.mysite.org/newsletter/confirm/remove/8acd182182615t632
    You should change the base URL in the settings.php file from
      #  $base_url = 'http://www.example.com';  // NO trailing slash!
    to
      $base_url = 'http://www.mysite.org';  // NO trailing slash!

DOCUMENTATION
-------------
More help can be found on the help pages: example.com/admin/help/simplenews
and in the drupal.org handbook: http://drupal.org/node/197057

  1. Roadmap

    If you switch to 6.x-2.x make sure you add token module. Drupal 6 has
    limitations in its upgrade implementation and omits the check of this newly
    added dependency. An alpha-release for 6.x-2.x has been created. Features
    in 6.x are considered frozen.

  2. Known problems

    In D6 using Poormanscron can cause simplenews to send multiple copies of the
    same email to the same recipient. Therefore I strongly advise against using
    Poormanscron.. Use cron(tab) and cron.php instead.
    See https://www.drupal.org/node/361071.

RELATED MODULES
---------------

  1. Actively maintained modules

    The following modules work with Simplenews:
    Simplenews Linkchecker (D6-2.x, D7)
    (https://www.drupal.org/project/simplenews_linkchecker)
    Webform Simplenews Component (D6-1.x, D6-2.x, D7)
    (https://www.drupal.org/project/webform_simplenews)
    Simplenews Scheduler (D6-1.x, D6-2.x, D7)
    (https://www.drupal.org/project/simplenews_scheduler)
    Simplenews Roles (D6-1.x, D6-2.x, D7)
    (https://www.drupal.org/project/simplenews_roles)
    Simplenews Content Selection
    (https://www.drupal.org/project/simplenews_content_selection)
    Simplenews Digest (D6)
    (https://www.drupal.org/project/simplenews_digest)
    Simplenews Analytics (D6)
    (https://www.drupal.org/project/simplenews_analytics)
    Simplenews Statistics (D6 stable)
    (https://www.drupal.org/project/simplenews_statistics)
    Simplenews RealName (D6-1.x, D6-2.x)
    (https://www.drupal.org/project/simplenews_realname)
    Simplenews Bounce D6 (under development)
    (https://www.drupal.org/project/simplenews_bounce)
    Sequenced newsletter (D6-2.x)
    (https://www.drupal.org/project/sequenced_newsletter)

  2. Deprecated related modules (only relevant for 6.x-1.x)

    Simplenews Subscription Manager (abandoned)
    (https://www.drupal.org/project/simplenews_sub_manager)
    Simplenews Template
    (https://www.drupal.org/project/simplenews_template)
    Simplenews Multiple Signup Block
    (https://www.drupal.org/project/simplenews_multisignup)
    Simplenews on register
    (https://www.drupal.org/project/simplenews_register)
    Simplenews Threaded Send
    (https://www.drupal.org/project/simplenews_threaded_send)

File

README.txt
View source
  1. DESCRIPTION
  2. -----------
  3. Simplenews publishes and sends newsletters to lists of subscribers. Both
  4. anonymous and authenticated users can opt-in to different mailing lists.
  5. HTML email can be sent by adding Mime mail module.
  6. REQUIREMENTS
  7. ------------
  8. * Taxonomy module
  9. * For large mailing lists, cron is required.
  10. * HTML-format newsletters and/or newsletters with file attachments require the
  11. mime mail module.
  12. INSTALLATION
  13. ------------
  14. 1. CREATE DIRECTORY
  15. Create a new directory "simplenews" in the sites/all/modules directory and
  16. place the entire contents of this simplenews folder in it.
  17. 2. ENABLE THE MODULE
  18. Enable the module on the Modules admin page:
  19. Administer > Site building > Modules
  20. 3. ACCESS PERMISSION
  21. Grant the access at the Access control page:
  22. Administer > User management > Access control.
  23. 4. CONFIGURE SIMPLENEWS
  24. Configure Simplenews on the Simplenews admin pages:
  25. Administer > Site configuration > Simplenews.
  26. Select the content type Simplenews uses for newsletters.
  27. Select the taxonomy term Simplenews uses to manage newsletter series.
  28. 5. ENABLE SIMPLENEWS BLOCK
  29. With the Simplenews block users can subscribe to a newsletter. For each
  30. newsletter one block is available.
  31. Enable the Simplenews block on the Administer blocks page:
  32. Administer > Site building > Blocks.
  33. 6. CONFIGURE SIMPLENEWS BLOCK
  34. Configure the Simplenews block on the Block configuration page. You reach
  35. this page from Block admin page (Administer > Site building > Blocks).
  36. Click the 'Configure' link of the appropriate simplenews block.
  37. Permission "subscribe to newsletters" is required to view the subscription
  38. form in the simplenews block or to view the link to the subscription form.
  39. 7. SIMPLENEWS BLOCK THEMING
  40. More control over the content of simplenews blocks can be achieved using
  41. the block theming. Theme your simplenews block by copying
  42. simplenews-block.tpl.php into your theme directory and edit the content.
  43. The file is self documented listing all available variables.
  44. The newsletter block can be themed generally and per newsletter:
  45. simplenews-block.tpl.php (for all newsletters)
  46. simplenews-block.tpl--[tid].php (for newsletter series tid)
  47. 8. MULTILINGUAL SUPPORT
  48. Simplenews supports multilingual newsletters for node translation,
  49. multilingual taxonomy and url path prefixes.
  50. When translated newsletter issues are available subscribers receive the
  51. newsletter in their preferred language (according to account setting).
  52. Translation module is required for newsletter translation.
  53. Multilingual taxonomy of 'Localized terms' and 'per language terms' is
  54. supported. 'per language vocabulary' is not supported.
  55. I18n-taxonomy module is required.
  56. Use 'Localized terms' for a multilingual newsletter. Taxonomy terms are
  57. translated and translated newsletters are each taged with the same
  58. (translated) term. Subscribers receive the newsletter in the preferred
  59. language set in their account settings or in the site default language.
  60. Use 'per language terms' for mailing lists each with a different language.
  61. Newsletters of different language each have their own tag and own list of
  62. subscribers.
  63. Path prefixes are added to footer message according to the subscribers
  64. preferred language.
  65. The preferred language of anonymous users is set based on the interface
  66. language of the page they visit for subscription. Anonymous users can NOT
  67. change their preferred language. Users with an account on the site will be
  68. subscribed with the preferred language as set in their account settings.
  69. 9. NEWSLETTER THEMING
  70. You can customize the theming of newsletters. Copy any of the *.tpl.php
  71. files from the simplenews module directory to your theme directory. Both
  72. general and by-newsletter theming can be performed.
  73. Theme newsletter body:
  74. simplenews-newsletter-body.tpl.php (for all newsletters)
  75. simplenews-newsletter-body--[tid].tpl.php (for newsletter series tid;
  76. where [tid] is replaced by the term id of the newsletter taxonomy term.
  77. Theme newsletter footer:
  78. simplenews-newsletter-footer.tpl.php (for all newsletters)
  79. simplenews-newsletter-footer--[tid].tpl.php (for newsletter series tid)
  80. The files are self documented listing all available variables.
  81. Using the Display fields settings each field of a simplenews newsletter can
  82. be displayed or hidden in plain text and/or HTML newsletters. You find
  83. these settings at:
  84. admin/content/node-type/my-node-type/display
  85. 10. SEND MAILING LISTS
  86. Cron is required to send large mailing lists. Cron jobs can be triggered
  87. by Poormanscron or any other cron mechanism such as crontab.
  88. If you have a medium or large size mailing list (i.e. more than 500
  89. subscribers) always use cron to send the newsletters.
  90. To use cron:
  91. * Check the 'Use cron to send newsletters' checkbox.
  92. * Set the 'Cron throttle' to the number of newsletters send per cron run.
  93. Too high values may lead to mail server overload or you may hit hosting
  94. restrictions. Contact your host.
  95. Don't use cron:
  96. * Uncheck the 'Use cron to send newsletters' checkbox.
  97. All newsletters will be sent immediately when saving the node. If not
  98. all emails can be sent within the available php execution time, the
  99. remainder will be sent by cron. Therefore ALWAYS enable cron.
  100. These settings are found on the Newsletter Settings page under
  101. 'Send mail' options at:
  102. Administer > Site configuration > Simplenews > Send mail.
  103. 11. (UN)SUBSCRIBE CONFIRMATION
  104. By default the unsubscribe link will direct the user to a confirmation page.
  105. Upon confirmation the user is directed to the home page, where a message
  106. will be displayed. On the Simplenews subscription admin page you can
  107. specify an alternative destination page.
  108. Administer > Site configuration > Simplenews > Subscription
  109. To skip the confirmation page you can add parameters to the subscription URL.
  110. Example: [simplenews-subscribe-url]/ok
  111. When an alternative destination page has been defined the extra parameters
  112. will be added to the destination URL.
  113. Example: [simplenews-subscribe-url]/ok
  114. Destination: node/123
  115. Destination URL: node/123/ok
  116. 12. SINGLE OR DOUBLE OPT-IN AND OPT-OUT
  117. Every newsletter can be set to be double opt-in/out (default), single
  118. opt-in/out, or hidden.
  119. Double: A confirmation email is sent to confirm the (un)subscribe action.
  120. No confirmation is sent when a user is (un)subscribed by the
  121. administrator or when the user subscribes when creating an account.
  122. Single: No confirmation email is sent. (un)subscribe is immediately.
  123. Hidden: The newsletter is not listed in newsletter lists. Use this for
  124. mandatory newsletters. Only administrators or modules can add a user to this
  125. mailing list.
  126. Note that single opt-in/out or hidden (forced) subscription is in some
  127. countries forbidden by law.
  128. SECURITY NOTICE: a newsletter set to be single opt-in or opt-out is
  129. vulnerable to Cross Site Request Forgeries. Email addresses may be
  130. (un)subscribed without a notice. Do not use this setting in uncontrolled
  131. environments (like the internet!).
  132. 13. TIPS
  133. A subscription page is available at: /newsletter/subscriptions
  134. If your unsubscribe URL looks like:
  135. http:///newsletter/confirm/remove/8acd182182615t632
  136. instead of:
  137. http://www.mysite.org/newsletter/confirm/remove/8acd182182615t632
  138. You should change the base URL in the settings.php file from
  139. # $base_url = 'http://www.example.com'; // NO trailing slash!
  140. to
  141. $base_url = 'http://www.mysite.org'; // NO trailing slash!
  142. DOCUMENTATION
  143. -------------
  144. More help can be found on the help pages: example.com/admin/help/simplenews
  145. and in the drupal.org handbook: http://drupal.org/node/197057
  146. 1. Roadmap
  147. If you switch to 6.x-2.x make sure you add token module. Drupal 6 has
  148. limitations in its upgrade implementation and omits the check of this newly
  149. added dependency. An alpha-release for 6.x-2.x has been created. Features
  150. in 6.x are considered frozen.
  151. 2. Known problems
  152. In D6 using Poormanscron can cause simplenews to send multiple copies of the
  153. same email to the same recipient. Therefore I strongly advise against using
  154. Poormanscron.. Use cron(tab) and cron.php instead.
  155. See https://www.drupal.org/node/361071.
  156. RELATED MODULES
  157. ---------------
  158. 1. Actively maintained modules
  159. The following modules work with Simplenews:
  160. Simplenews Linkchecker (D6-2.x, D7)
  161. (https://www.drupal.org/project/simplenews_linkchecker)
  162. Webform Simplenews Component (D6-1.x, D6-2.x, D7)
  163. (https://www.drupal.org/project/webform_simplenews)
  164. Simplenews Scheduler (D6-1.x, D6-2.x, D7)
  165. (https://www.drupal.org/project/simplenews_scheduler)
  166. Simplenews Roles (D6-1.x, D6-2.x, D7)
  167. (https://www.drupal.org/project/simplenews_roles)
  168. Simplenews Content Selection
  169. (https://www.drupal.org/project/simplenews_content_selection)
  170. Simplenews Digest (D6)
  171. (https://www.drupal.org/project/simplenews_digest)
  172. Simplenews Analytics (D6)
  173. (https://www.drupal.org/project/simplenews_analytics)
  174. Simplenews Statistics (D6 stable)
  175. (https://www.drupal.org/project/simplenews_statistics)
  176. Simplenews RealName (D6-1.x, D6-2.x)
  177. (https://www.drupal.org/project/simplenews_realname)
  178. Simplenews Bounce D6 (under development)
  179. (https://www.drupal.org/project/simplenews_bounce)
  180. Sequenced newsletter (D6-2.x)
  181. (https://www.drupal.org/project/sequenced_newsletter)
  182. 2. Deprecated related modules (only relevant for 6.x-1.x)
  183. Simplenews Subscription Manager (abandoned)
  184. (https://www.drupal.org/project/simplenews_sub_manager)
  185. Simplenews Template
  186. (https://www.drupal.org/project/simplenews_template)
  187. Simplenews Multiple Signup Block
  188. (https://www.drupal.org/project/simplenews_multisignup)
  189. Simplenews on register
  190. (https://www.drupal.org/project/simplenews_register)
  191. Simplenews Threaded Send
  192. (https://www.drupal.org/project/simplenews_threaded_send)