Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module allows you to display a Views attachment as a tab on a display that supports attachments. It enables a new "Display Extender" in Views settings and adds an option within a view's edit form to configure attachments as tabs.

Views Attachments as Tabs is a module that allows you to display a Views attachment as a tab on a display that supports attachments.

Instructions

  1. Enable the module in the admin interface.
  2. Either enable the Views Attachments as Tabs Olivero module or write a theme hook, template_preprocess_views_view_attachment_tabs() to ensure that the output of this module will conform to the markup needed for tabs as is required by your theme. (You may have a theme that does not require this).
  3. Go to Structure > Views > Settings > Advanced, and check the box, "Views attachment tabs" under the "Display Extenders" section.
  4. Create a view that has a display that accepts attachments (e.g. block or page).
  5. In the middle column of the View edit form, there is a section titled "Attachment tabs"; click the link within that section, check the box to enable, and give your tab a title (then click "Apply").
  6. Create an attachment for the view, and set the parent for the attachment.
  7. Click the link by "Attach as tab" to enable the attachment as a tab and give it a title (then click "Apply").
  8. Repeat steps 6 and 7 as needed, then save your view.

Activity

Total releases
1
First release
Mar 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
1.1.2 Stable Mar 19, 2025