Newsletter is a full Drupal 7 project now and can be found here.
http://drupal.org/sandbox/rootatwc/1212302
This module is in the final stages of development, fixing bugs and finalizing some thoughts.I developed it for a project of mine and decided to give it to the community..
I know there are a bunch of modules for newsletter, but most of them are for drupal 6 and abandoned
Also simplenews, has entirely different structure and would need a major rewrite to accomplish what i wanted.
So i decided to write this:)
- Multiple newsletters lists configurable on terms, not vocabularies
- Plain text or HTML out of the box
- Multiple schedules Each newsletter can have more than one schedule, e.g. Daily, Monthly, Weekly, manually or even custom, eg after 10 new posts for this term...
- Centralized administration Configuration and administration is not in 5 different spots
- Users are able to customize the terms in the list they subscribe to..(aka exposed newsletters)
- Custom template per list
- Statistics
- Integrates with colorbox,wysiwyg and jqplot
- Newsletters can be sent that are irrelevant with site's content (eg a merry X-mas newsletter to all subscribers)
- Drupal 7 only
Comments
Comment #1
shadcn commentedInstalled, tested and I like the module. Easy and clean workflow.
Review :
should be
Comment #2
shadcn commentedComment #3
ParisLiakos commenteddamn..
Sorry i should mention to check 7.x branch and not the master one...i forgot to update the master one:/
anyways, i deleted master
The code changes you mentioned are already applied to 7.x branch.
Sorry again.
About the duplication:
I originally started working on simplenews but i figured that:
so i decided to start my own module and now that basic functionality is there to apply for full project status, knowing that i would have issues with duplication:)
**about moving it to structure.. i agree,its just the client that want its there -.- .. so, if i get the full project status i will move it to structure, i promise..
Comment #3.0
ParisLiakos commentedadded note about 7.x branch
Comment #3.1
ParisLiakos commentedremoved the branch proposal since i deleted master and now there is only 7.x-1.x
Comment #3.2
ParisLiakos commentedupdate description
Comment #3.3
ParisLiakos commentedmade integrations linkable
Comment #4
ParisLiakos commented2 weeks since last review, bumping to major
Comment #5
ParisLiakos commentedSome updates:
This module integrates now with
Fixing bugs now so i can release a stable version (its already is on production, but not many subscribers yet)
Comment #6
ParisLiakos commentedUpdated title so its clear for which version this module is about, trying to help reviewers^^
Comment #7
shadcn commentedHey Paris, sorry for the late reply. Been super busy. I'll make sure I review this today. and update. Thanks for your help and understanding :)
Comment #8
ParisLiakos commentedNo problem Arshad.
Take your time, since it got bigger since the last time you checked it:P
Comment #9
ParisLiakos commentedI released alpha1 version, which i attach
also a demo site,using that version
http://rootatwc.com/d7/
Comment #10
derjochenmeyer commentedThe alpha version in combination with the Demosite really really helped. Without this, I would have never tested this module.
Comment #11
ParisLiakos commentedthanks again for your time Jochen!
i hope i get the full project permissions sometime in the near future!
Comment #12
derjochenmeyer commentedA link on your sandbox to this issue would also help.
"If you like this newsletter module please help to make this a full project by reviewing this module and posting your feedback here: Newsletter (D7) - Drupal.org Project applications"
My first impression after reviewing this a bit:
Comment #13
ParisLiakos commentedYou are right! i added it.
and yes one of the main reasons i started this was to bring something more end user friendy.well even for more technical ones, simplenews workflow aint easy
Comment #14
derjochenmeyer commentedSorry I used the wrong link in my suggestion. Now the sandbox page links itself :) it should link here:
http://drupal.org/node/1225708
Comment #15
ParisLiakos commenteddoh i didnt even test it:P just copied-pasted
Comment #16
ParisLiakos commentedcheck here for fresh tar.gz s of this module.
#1275554: Latest tar.gz archives for newsletter
I update it after each serious commit
Comment #17
itserich commentedDon't know if this is a way to help get it approved, but I have tried all sorts of newsletter, mail, subscription modules over the past year and Newsletter works right the first time and is intuitive. I think a module like this is necessary for community sites where people want to receive updates without being required to register.
Whoever has the power to assign something as a full project, please do it and help other people find it more easily. Thanks and thanks rootatwc!
Comment #18
Yuri commentedAs far as I've tested, it is indeed a very user friendly and all-in-one newsletter solution.
However, I got stuck on the mail template (in my case admin/newsletters/templates/edit/4?destination=admin/newsletters/templates) and the replacement patterns.
In the default template it shows
[repeat]
[item_title] -[item_date]
[item_teaser]
[/repeat]
and the explanation says:
[repeat] --- The section starting with this token will be replaced for all nodes that are to be sent with this list
[/repeat] --- End of the repeat section
But I don't understand how to make node(teasers) appear in the sent newsletter.
The email is successfully sent and received but the replacement patterns mentioned above are not replaced with the teasers.
So actually i have two questions: 1) how do i select nodes to be included in a newsletter and 2) Why don't the replacement patterns work.
The replacement pattern problem might have to do with the following:
After enabling your Newsletter module, and I create a new node (i.e. a blog post) I get an error:
Warning: Illegal offset type in isset or empty in pathauto_cleanstring() (line 180 of /home/primo1/public_html/sites/all/modules/pathauto/pathauto.inc).
Notice: Array to string conversion in pathauto_cleanstring() (line 185 of /home/primo1/public_html/sites/all/modules/pathauto/pathauto.inc).
Warning: Illegal offset type in pathauto_cleanstring() (line 223 of /home/primo1/public_html/sites/all/modules/pathauto/pathauto.inc).
(this set of error lines repeat 15 times on the same page)
As far as I see this error is similar to http://drupal.org/node/1246074 and indicates that the module is duplicating Tokens.
I have Token version 7.x-1.0-beta4 installed on my test site.
Comment #19
ParisLiakos commentedPlease dont hijack this thread.
for support requests open a new issue here
But the pathauto error is not related to newsletter since newsletter doesnt use token API (yet).
Finally to have nodes in the template you need to set taxonomy terms associated with the template.Then newsletter will automatically fetch the last nodes posted for these terms everytime its queued for cron
Comment #20
derjochenmeyer commentedSee: Doxygen and comment formatting conventions
The maintainer of this sandbox project is very responsive, and solved all issues fast and friendly :) examples:
#1281444: Fix coder errors related to confirm_form()
#1275610: Notice: Undefined index: email in newsletter_subscribe_advanced() (line 95 of .../newsletter/includes/user.inc).
#1272130: Configuration changes made under admin/newsletters/configure (General Settings) cant be saved
There was ONLY positive feedback to this project (see #1, #17, #18, #20).
IMO this sandbox is ready to be released as a full project.
Comment #21
shadcn commentedUnfortunately, I did not have time to review the module after #1, but +1 from me for promoting this to a full project.
Comment #22
ParisLiakos commentedThank you all!
@derjochenmeyer Once more, i appreciate it!Thank you for all your suggestions and the issues you opened,helping this module!I promise to work on documentation
Comment #23
tim.plunkettThis module is really very close. Only a couple issues remaining:
Using the path "admin/newsletter/*" doesn't follow the Information architecture standards laid out by core. It should likely be "admin/config/newsletter/*".
The includes should be renamed, admin.inc should become newsletter.admin.inc.
The
require_once's at the beginning of newsletter.module are not very Drupal-like. I picked a random function from functions.inc,newsletter_get_vids(), and saw it was only used in admin.inc. It could be moved there.The
$(document).ready(function () {in newsletter.js should be converted to Drupal.behaviors: http://drupal.org/node/171213#behaviors, and the function should be namespaced as well. The entire file can be wrapped in the one closure binding $ to jQuery.In the .info, the description should end in a full stop, and doesn't need to be wrapped in quotes.
The CSS file should like be renamed newsletter.theme.css, in accordance with http://drupal.org/node/1285604.
Also, double check your trailing whitespace, there are some in the CSS, JS, and README.txt.
Comment #24
ParisLiakos commentedHello tim and thanks a lot for your time!
I am almost there,correcting the things you pointed.
I am stuck on the javascript thing but willl figure it out,just need to read the docs:)
about the
just like i have it commented
I have only used different files for pure organization purposes.i dont want to clutter the .module file with thousands of lines of code,so i used .module for hooks only, admin.inc for administration forms only , user.inc for frontend forms and callbacks and, finally, functions.inc for reusable code.
If you still think its wrong,its ok i will move them to .module:)
Thanks again
Comment #25
tim.plunkettWell first of all, if you leave it, the comment could be
Spelling and spacing are important.
My point about the functions in includes/functions.inc and includes/user.inc is that certain functions seem to be only used by certain include files.
The following files are only ever called in admin.inc:
They could easily be moved. And those are just an example, I imagine things could be chopped up further.
One other thing that comes to mind: you should create an "empty" master branch in Git, that contains a README.txt explaining why it is empty. An example is here: http://drupalcode.org/project/examples.git/blob/refs/heads/master:/READM...
Otherwise those checking out your module with Git will get an error.
Comment #26
ParisLiakos commentednewsletter_*_load() functions are also used by the hook_menu's items.
Fixed the rest
Comment #27
derjochenmeyer commentedadmin/config/newsletteradmin.inc>newsletter.admin.inc$(document).ready(function () {converted toDrupal.behaviorsI added a patch that adds a "." at the end of the comment as suggested in #25 ;-) Doxygen and comment formatting conventions. But that realy shouldn't block this project application...
Comment #28
ParisLiakos commentedThanks.Commited!
Btw it is moved to
admin/config/system/newslettersinceadmin/config/newsletterwont expose any link in the GUI and system was the closest section of config...i wish there was a mail one...but i checked htmlmail and other mail projects.since they use config/system i used that too:/
Comment #29
tim.plunkettAwesome, looks much better.
I've granted you full project creation rights. Use this ability carefully!
Thank you for your patience.
Comment #30
ParisLiakos commentedThanks a lot tim!
You and everyone for sparing some time for this:)
Comment #31
betovargsubscribing... is this still being developed?
Comment #32
derjochenmeyer commentedThis issue is still among the top search results for "Drupal newsletter D7".
The first link in this issue (http://drupal.org/sandbox/rootatwc/1212302) is dead and should be replaced with the full project URL...
Comment #32.0
derjochenmeyer commentedupdated statistics (they are usable now)
Comment #32.1
derjochenmeyer commentedUpdated issue summary.
Comment #35
tbeckett commentedI love the Newsletter module. I find it much simplier and more feature complete than simplenews. One issue, I am trying to figure out how to get a list of the newletters I have sent in the past. I can't seem to see them. Their must be nodes created right? I have tried to use views to grab them, but no luck.
Anyone have any thoughts?
Comment #36
patrickd commented@tbeckett this issue is only for project application matters and is already closed, please create a new support issue in the projects application queue for your request.
Comment #36.0
patrickd commentedUpdated issue summary.