Pretty self-explanatory from the title.

Basically I'm also using content profile on my user registration page and thought it would be a cool idea to be able to change the weight of the newsletter block on that page. This way i could adjust where it is displayed.

I'm able to overcome this as content profile has a weight setting that I can make higher than the newsletter (so the newsletter floats to the bottom of my form) but this would be a cool feature to add in.

If i have some time i'll see how content profile does this and build a patch.

Comments

levelos’s picture

Status: Active » Closed (won't fix)

You have know way of knowing the weight of the other form fields, so I don't think this makes sense as a setting in the module. In a particular use case, you could change it very simply using hook_form_alter() in your own module.

Anonymous’s picture

Hello,
I've tried to put this in a custom module but it doesn't work.

$form['mailchimp_lists_forms']['#weight'] = 99;

What would be the correct code to change the weight ?

thank you

EDIT : it works fine... my bad... Profile category weight module was still activated :)