0

I would want to reorganize the profile of the users, in the following way:

  1. Name (h1),
  2. Custom field 1,
  3. Custom field 2,
  4. Edit tab ($tab),
  5. Block.

I tried to delete the $tab variable in page--user.tpl.php, and add it in user--profile.tpl.php, but it does not work.

How to move the edit tab in user-profile.tpl.php ?

1
0

Ok, i find the answer :

function THEME_preprocess_user_profile(&$variables) {
  $variables['tabs'] = menu_local_tabs();
}

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.