0

How can i reorder fields in "node/add/"?

the current order:

title 
vocabularies 
body
...

i would like to have

    title 
    body
    vocabularies 

...
0

Drag and drop the fields in the order you want at page at the "manage fields" or "manage display" pages.

You can reach these pages for eacht content-type via the links beside eacht content type at:

admin/structure/types

Manage fields is used at the node/add or edit screens. Manage display is used for the actual display, like when a visitors sees the page.

  • what version of drupal are you referring to? can't find this on drupal 6 – teslasimus Dec 30 '12 at 23:08
  • You are right, this is for drupal 7. – askibinski Dec 30 '12 at 23:31
0

If you are familiar with custom moduling, you could implement hook_form_alter() and adjust the #weight attribute of each element. The heaviest weight is the last appeared.

function MYMODULE_form_alter(&$form, &$form_state, $form_id){
    if( $form_id == 'your_node_form' ){
        $form['title']['#weight']   = 1;
        $form['body']['#weight']    = 2;
        $form['vocal']['#weight']   = 3;
    }
}

It is valid since D6.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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