Active
Project:
Simplenews Multiple Signup Block
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2010 at 08:54 UTC
Updated:
28 Apr 2011 at 09:00 UTC
in function
function simplenews_multisignup_form_alter(&$form, $form_state, $form_id) {
- if ($form_id == 'simplenews-subscription-manager-form') {
+ if ($form_id == 'simplenews_subscription_manager_form') {
if (!empty($form['#parameters'][2]) && $form['#parameters'][2] == 'simplenews_multisignup') {
// Get rid of the fieldset to save screen space.
unset($form['subscriptions']['#type']);
// Prevent the form from redirecting to the front page.
$form['#redirect'] = FALSE;
}
}
}
the form ids in hook_form_alter change caracter '-' to '_'
Comments
Comment #1
Paintbox commentedOld post, but thanks for noticing this. I am working with multisignup and was wondering why it didn't render properly.