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). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). 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.

The Domain Views Display module allows administrators to override a Views display with a different one for specific domains. This provides a user-friendly way to customize content listings across multiple domains without needing to create separate views for each.

The Domain Views Display module works with Domain Access to allow the administrator to override a Views display with another on specific domains. For example if you have an RSS listing page for a.example.com and b.example.com and you want to modify the listing on b.example.com you can create a new display tailored to b.example.com and configure the old display to use the new one on b.example.com.

It's an alternative to using domain-specific config overrides and was created to provide a simple user interface for site builders to configure everything within one view. Currently it's not possible to use Domain Config UI with Views; if that changes, this module will be largely obsolete.

Requirements

Installation

Install as you would normally install a contributed Drupal module. See: https://www.drupal.org/node/895232 for further information.

Configuration

  1. When configuring the view, there should be a new field group in the center column Domain overrides.
  2. Click the link next to Override display.
  3. You should be able to choose which display to use for every configured domain.

Known issues

  • It's possible to set up loops where display A redirects to display B which redirects to display A.
  • If you rename a display that overrides another, you'll need to reconfigure the override.
  • Views configured to have domain-specific overrides don't add the domains as config dependencies of the view (possibly related to #2426607: Calculates and adds dependencies of views display extender).

Activity

Total releases
3
First release
May 2025
Latest release
1 month ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.0-alpha2 Pre-release May 27, 2026
1.0.0-alpha1 Pre-release May 26, 2025
1.x-dev Dev May 26, 2025