I'm using omega's sub-theme creativpink. I want to move Login button above the Create new account and Request new password in user login block programmatically for alignment purpose and i'm not wish to move Login button using any css code. I don't know how to write code for that. Thanks in advance.

Comments

You can use hook_form_alter to re-arrange the order (#weight) of the form elements in form. You can find more details about #weight on Form API Reference page. Example of hook_form_alter are: https://drupal.org/node/651106, https://drupal.org/node/1702628.

Yogesh

yogeshchaugule8@gmail.com || +91 98197 18464