Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After upgrading to alpha2 the mailchimp component is not shown in the correct order. See the attached screenshots.
Comment | File | Size | Author |
---|---|---|---|
#3 | weight_fix-1499258.patch | 359 bytes | rich.3po |
Skærmbillede 2012-03-25 kl. 10.43.59.png | 1.31 MB | lsolesen | |
Skærmbillede 2012-03-25 kl. 10.44.13.png | 136.09 KB | lsolesen |
Comments
Comment #1
Beezer75 CreditAttribution: Beezer75 commentedI am having the same issue. Through some trial and error I figured out that you could set the order by adjusting the form element weights and using negative values for everything you want to appear above the newsletter sign up.
Comment #2
lsolesen CreditAttribution: lsolesen commentedPlease, do not change the title of issues, if it does not clarify the problem.
You suggested approach is a temporary workaround, but the issue still needs to be fixed.
Comment #3
rich.3po CreditAttribution: rich.3po commentedThe problem seems to be in the _webform_render_mailchimp() function, where an array of elements is returned rather than an element itself, and no weight is set at the top level.
I've attached a patch which seems to fix the problem for me
-Rich
Comment #4
lsolesen CreditAttribution: lsolesen commentedThe patch applies cleanly and fixes the problem, so maybe a new release should be rolled :)
Comment #5
blackdog CreditAttribution: blackdog commentedCommitted, thanks!
New release coming up.