Needs work
Project:
Simplenews Digest
Version:
5.x-1.0
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Jan 2009 at 17:32 UTC
Updated:
4 Jan 2009 at 07:47 UTC
Getting to like patching ;-)
Small patch which gets the default values for thing like promoted, sticky, published, comments, revision, receipt and priority from settings pages. Might not be ideal for all situations, but I would prefer it to the hard coded situation before.
Thanks
Mark
| Comment | File | Size | Author |
|---|---|---|---|
| simplenews_digest_module_default_values.patch | 1.83 KB | splash112 |
Comments
Comment #1
Steve Dondley commentedI'm not sure this is a good idea. The default newsletter should have its own distinct settings from the default settings. These should be set on the default newsletter settings page.
Comment #2
splash112 commentedAh sorry, maybe I didn't make myself clear (and the code btw)
Comments, published, promoted, sticky and revision are taken from:
/admin/content/types/simplenews
the default newsletter settings pages
Priority and receipt are taken from:
admin/content/newsletters/settings
The newsletter settings pages
Comment #3
Steve Dondley commentedWell, what if I want the digest newsletter to be unpublished and all the other newsletters to be published by default? I could do it but I'd be forced to change the published setting every time I created a newsletter manually.
It would be better if I had a section on the digest newsletter page where I could set these default settings for the special digest newsletter.
Comment #4
Steve Dondley commentedAlso, at some point I want to allow multiple digest newsletters. Then it will be even more important to allow each digest newsletter to have its own settings.
Comment #5
splash112 commentedHi Steve,
Agreed, It should be on the page. Will check what I can do about that later.
Would be, btw, more then willing to help to make multiple newsletters possible.
Do I hear a 5.2 branch?
Comment #6
Steve Dondley commentedI was planning on doing a d6 version first.
One thing to be aware of is that the d5 simplenews module has (or had) a problem with sending multiple newsletters at the same time.