Closed (fixed)
Project:
Webform Mailchimp
Version:
7.x-1.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2012 at 08:45 UTC
Updated:
21 May 2012 at 12:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
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 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 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 commentedThe patch applies cleanly and fixes the problem, so maybe a new release should be rolled :)
Comment #5
blackdog commentedCommitted, thanks!
New release coming up.