views:

86

answers:

1

hi,

how is possible that the Save button is positioned here ?!!

http://dl.dropbox.com/u/72686/SaveButton.png

thanks

A: 

One module does something funny with the weight values of the form elements.

Yorirou
how can I assign different weight to save button ? Should be very high ?
Patrick
This is done one of the modules what you have enabled. The submit button should have the greates weight in the form, but this can be easily overwritten.
Yorirou
how can I re-assign high weight to Save Button ?
Patrick
Try to find out which module does it, or if not, create a small module, which hook_form_alter, and give a big value to the submit button's #weight property.
Yorirou
I've tried to add to template.php file in my theme folder: *$form['submit']['#weight'] = 100;* but it doesn't work. *$form['author']['#weight'] = 100;* works, and *$form['submit']['#value'] = "Hello";* also works! (even if the label is not replaced... the text is just added before the button
Patrick
I've solved adding ['buttons']['#weight'] = 100 in template.php
Patrick

related questions