0

I'm using drupal 7. The drag drop interface to re-order fields for a content type seems to be buggy. When I ADD a new Content, i noticed that Translation Settings is always appearing in the middle of my custom defined fields. I go to Structure>Content Type>MyContent to re-arrange my fields, but no matter how I sort the fields, when I go back to Add My Content, Translation Settings always appears between the 27th and 28th custom defined field.

So I'm thinking of making this change in the database somewhere. Does anyone know which tables I should be looking at?

1 Answer 1

1

Yes, I saw this too. The language form element was added by locale module in code. If you want to change the weight of this element you can create your hook HOOK_form_node_form_alter() and add #weight for $form['language'].

1
  • Great, the actual function name was translation_form_node_form_alter. Commented Aug 24, 2011 at 19:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.