Closed (fixed)
Project:
Simplenews on register
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 May 2008 at 00:11 UTC
Updated:
14 Jul 2012 at 23:35 UTC
Jump to comment: Most recent file
Comments
Comment #1
niklp commentedD6++
Comment #2
rimu commentedsubscribing
Comment #3
cobrasound commentedI took a first stab at this with the help of the Deadwood module. It definitely needs more testing and is my first attempt contributing back to Drupal so it's probably not 100% up to par.
There is at least one issue, the "User registration page options" section located on /admin/content/newsletters/settings isn't getting themed properly. I'm still looking at it but could use an extra set of eyes (the check boxes should all be in a table with a header/column names above them). I temporarily added titles to the checkbox(es) so that it's useable in the meantime (but will be harder to use if you have multiple newsletters).
Please let me know if there are any issues with the patch. I'm also open for any feedback/help on the theming issue noted above.
Thank you,
Jeff
Comment #4
rookiedrup commentedHi Cobrasound
Thanks for the files. However, seemed like i got lots of problems trying to patch the file. Initially, I got this problem:
patching file `simplenews_register.module'
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
4 out of 4 hunks ignored -- saving rejects to simplenews_register.module.rej
Then I tried forcing the patch using -f option and I got the following:
C:\patch -f < simplenews_register.module.patch
patching file `simplenews_register.module'
Hunk #1 succeeded at 88 with fuzz 2 (offset 87 lines).
Hunk #2 FAILED at 187.
Hunk #3 FAILED at 218.
Hunk #4 FAILED at 238.
3 out of 4 hunks FAILED -- saving rejects to simplenews_register.module.rej
Is this supposed to be correct?
Thanks.
Comment #5
niklp commentedYou should probably patch against HEAD or dev. Most likely the former.
Comment #6
toemaz commentedsubscribing
Comment #7
rookiedrup commentedHi NikLP
You are right. I patch against Dev and no errors.
Actually, Cobrasound has attached two files I think. The one he provided has already been patched I believe.
Thanks again.
Comment #8
markDrupal commentedsubscribing
Comment #9
niklp commentedComment #10
niklp commentedI looked at this. Not sure what's going on, but I think the form api stuff is a bit screwy.
I can't actually see the form (API) information relating to the settings in that screen, using DrupalForFirebug, which I would expect to.
I'll have a better look tomorrow morning when I've a fresh head on.
Comment #11
vint commentedanxiously subscribing! ;)
Comment #12
marqpdx commentedsubscribing.
thx,
m
Comment #13
Babalu commentedsubscribing
Comment #14
DanielJohnston commentedSubscribing.
Comment #15
ilfelice commentedSubscribing
Comment #16
qbnflaco commentedsubscribing
Comment #17
mrfelton commentedsubscribing
Comment #18
benovic commentedsubscribing :)
Comment #19
trophaeum commentedsubscribing
Comment #20
dan_aka_jack commentedsubscribing :)
Comment #21
basicmagic.net commentedsubscribe
Comment #22
moonray commentedSimplenews on register for Drupal 6 has just been released. Enjoy.
Comment #23
niklp commentedThat's great - thanks!
Any chance someone can point out what was wrong with the form stuff? I looked at it but couldn't work it out and would really like to know for future reference :(
Thanks again :)