The name field appears in individual newsletter blocks, but it doesn't appear in SimpleNews V2 multi subscription block.
If you are using Simplenews 2.x you need to install Simplenews RealName 6.x-2.x-dev.
No activity, closing issue.
Same issue in 7.x-1.0-alpha2!
edit: Looks in code as if it were never planned...
Same here with Drupal 7.26 and Simplenews RealName 7.x-1.0-alpha2.
Sorry to insist but is it planned to fix this very annoying bug ?
I think I got it working by changing the lines:
function simplenews_realname_form_alter(&$form, &$form_state, $form_id) { (...) // Add textfield for real name to subscription forms. //if (strpos($form_id, 'simplenews_block_form') !== FALSE || $form_id == 'simplenews_subscription_manager_form') { if (strpos($form_id, 'simplenews_block_form') !== FALSE || $form_id == 'simplenews_subscriptions_multi_block_form' || $form_id == 'simplenews_subscription_manager_form')
// Subscription blocks. //if (strpos($form_id, 'simplenews_block_form') !== FALSE) { if (strpos($form_id, 'simplenews_block_form') !== FALSE || $form_id == 'simplenews_subscriptions_multi_block_form' ) {
function simplenews_realname_block_form_submit($form, &$form_state) { (...) // $action = $form_state['values']['action']; $action = (isset($form_state['values']['action'])) ? $form_state['values']['action'] : 'subscribe';
This worked for me any plans on getting this committed?
Issue #1029428 by danielapsmaior, Stephen Ollman: Missing name field in...
Modifications in #7 have been committed.
Automatically closed - issue fixed for 2 weeks with no activity.
Comments
Comment #1
sgabe commentedIf you are using Simplenews 2.x you need to install Simplenews RealName 6.x-2.x-dev.
Comment #2
sgabe commentedNo activity, closing issue.
Comment #3
harald_ commentedSame issue in 7.x-1.0-alpha2!
edit: Looks in code as if it were never planned...
Comment #4
harald_ commentedComment #5
misterpo commentedSame here with Drupal 7.26 and Simplenews RealName 7.x-1.0-alpha2.
Comment #6
misterpo commentedSorry to insist but is it planned to fix this very annoying bug ?
Comment #7
danielapsmaior commentedI think I got it working by changing the lines:
function simplenews_realname_form_alter(&$form, &$form_state, $form_id) {
(...)
// Add textfield for real name to subscription forms.
//if (strpos($form_id, 'simplenews_block_form') !== FALSE || $form_id == 'simplenews_subscription_manager_form') {
if (strpos($form_id, 'simplenews_block_form') !== FALSE || $form_id == 'simplenews_subscriptions_multi_block_form' || $form_id == 'simplenews_subscription_manager_form')
// Subscription blocks.
//if (strpos($form_id, 'simplenews_block_form') !== FALSE) {
if (strpos($form_id, 'simplenews_block_form') !== FALSE || $form_id == 'simplenews_subscriptions_multi_block_form' ) {
function simplenews_realname_block_form_submit($form, &$form_state) {
(...)
// $action = $form_state['values']['action'];
$action = (isset($form_state['values']['action'])) ? $form_state['values']['action'] : 'subscribe';
Comment #8
Christopher Riley commentedThis worked for me any plans on getting this committed?
Comment #10
sgabe commentedModifications in #7 have been committed.