Closed (won't fix)
Project:
Simplenews on register
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2009 at 01:13 UTC
Updated:
2 May 2011 at 19:50 UTC
Hi,
The attached patch allows the form to be changed to a dropdown instead of a set of checkboxes. We needed this as we have over 100 newsletters, but users only need to sign up for one. We're also using the Prepouplate module to automatically select the appropriate newsletter, which works well with this patch.
When the single-register option is enabled, the opt-out setting is ignored since you can only choose one item. This patch also fixes the theme function for the admin settings so that any un-rendered form elements are rendered. This means that anyone using hook_form_alter() can expect their changes to be properly rendered.
Any feedback is appreciated!
| Comment | File | Size | Author |
|---|---|---|---|
| one_newsletter_choice.patch | 4.89 KB | deviantintegral |
Comments
Comment #1
deviantintegral commentedModule is now obsolete.