Build mode tabs
Categories
Component ID
1215164
Component name
Build mode tabs
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
1360
Component created
Component changed
Component body
This module creates MENU_LOCAL_TASK tabs for custom build modes (from Node displays, which interfaces with Display suite). So for a user with permission, when they visit the full node view they should see some extra tabs for those build modes.
Use case
You have a real estate agent site that has a number of properties. Each property has a number of tabs that display different info (eg. overview, Google map, price details). You create a build mode for each tab, and this module will then create the tabs for you.
Works with
I've had no problems using this module with Ajax Tabs to allow AJAX loading of the different build modes.
If you use secondary level tabs, you might be interested in the Sub-path URL Aliases module for clean URLs to the tabs.
Notes/questions
- Why not use CCK Fieldgroup Tabs, or Node displays with Tabs (jQuery UI tabs)?
- Both of these methods work well when each field is only needed in one tab. In my case there was often quite a bit of duplication of what fields were shown in which tab. (It is also possible to create a code field or a preprocess field for duplicated fields, but I don't find that as neat as this module.)
Possible future development
- Make settings exportable via Features. For now you can use Strongarm and export variables like
bmtabs_*.
