Web Wash

Drupal Tutorials

Control Tabs Using Tab Tamer

Has a client ever asked if you could reorder or change the name of a tab. Instead of displaying the view, edit and revisions tabs, the client wants to move "revisions" before “edit” and rename "view" to "current". This can all be archived by writing a custom module and implementing hook_menu_alter, but there is a module that allows site builders to rename, reorder, disable and hide tabs. It’s called Tab Tamer.

Installation is simple, just download Tab Tamer and install it on a Drupal site. Once installed, go to admin/config/system/tabtamer to configure tabs.

If you click on the "NODE/%" field-set you'll be able to rename, reorder, disable and hide tabs which only appear on the /node/ pages. After you have configured the tabs make sure you flush the site cache.

Here is what the standard tabs look like:

Now here is what it looks like after I clear the site cache:

 

Join our newsletter to stay up to date or follow us on twitter @webwashnet.

Ivan is the founder of Web Wash and spends most of his time consulting and writing about Drupal. He's been working with Drupal for 6 years and has successfully completed several large Drupal projects in Australia.

Connect: Twitter drupal.org LinkedIn App.net

Comments

Submitted by aarommes on

Sorry for asking a 'dumb' question after reading the above and watching your YouTube Video on Tab Tamer. But could you please explain how to create in Drupal 7 a Tab in the first place (which Drupal module(s) used etc.) ? Thanks a lot for your reply !

Submitted by aarommes on

Hello again. Can TabTamer Module be used for 'changing' / 'controlling' Tabs created with Tab Drupal 7 QuickTabs module ? Thanks again for your reply!

ivan's picture

Submitted by ivan on

I have never used tab tamer with quicktabs module. But can't you control the "Quick tabs" tabs with its own module?

Add new comment