How to hide Create new account and Request new password tabs in user login form? I use Drupal 7. I use custom theme. Maybe in template.php file some function?

You can see my page - http://broceni.garm.lv/


The Tab Tamer module will do it for you without having to write a single line of code:

Tab Tamer is an administration utility that provides easy re-ordering, hiding, and deactivation of tabs and subtabs. You can also rename tab labels.

  • Ok, I installed it. In admin/config/tabtamer is config. Why active is only comment/% and node/% ? user/% user/%/edit user taxonomy/term/% is not active? I cant do changes on user login form. – Martins Mar 20 '12 at 9:32
  • Ah yes it seems there's a bug...just change line 309 in tabtamer.module to '#collapsed' => FALSE and it'll work :) – Clive Mar 20 '12 at 9:44
  • I do that and I get some more active things, but something is wrong with that module.. I change under user. I put hidden that tabs, but dont see efect. – Martins Mar 20 '12 at 9:54
  • I want remove links, that appears after user login form input fields. I want button Log in before that 2 links – Martins Mar 20 '12 at 12:23

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.