Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Tabs No More

Converts tabs to contextual links (at PHP side). This makes UI cleaner and you don't need to stylize tabs anymore.

  1. TNM removes tabs and insert their links into a new contextual links object bound to the content region - lets call it page's contextual links
  2. TNM brings node's contextual links back both in 'Full' view mode and when node is page.
  3. TNM also filters page's contextual links to remove contextual links already presented on a page.

Module's configuration

Module's configuration page is located on /admin/config/system/tabsnomore
You can specify which themes are affected by the module. By default tabs killing happens on website's default theme.

Most likely your contextual links will overlap. To avoid this add into your theme's styles:

.contextual-links-region .contextual-links-region .contextual-links-wrapper {
  margin-right: 40px;
}

.contextual-links-region .contextual-links-region .contextual-links-region .contextual-links-wrapper {
  margin-right: 70px;
}

Project information

  • Created by OnkelTem on , updated